Bug: 1263727 (agent_template requires parameter)

Change-Id: I920b998905d0476caa383a3707b3196d5a8b4286
This commit is contained in:
Stan Lagun 2013-12-27 14:47:25 +04:00
parent 482f83ef32
commit 1639e0e8ec
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class ApplicationExecutor(object):
self._capture_stderr = options.get('captureStderr', False)
self._verify_exitcode = options.get('verifyExitcode', True)
def run(self, function, commandline, input=None):
def run(self, function, commandline='', input=None):
dir_name = os.path.dirname(self._path)
os.chdir(dir_name)
app = '"{0}" {1}'.format(os.path.basename(self._path), commandline)