Skip to content

Commit

Permalink
Changed RunExecutable assertexitcode from a required to optional para…
Browse files Browse the repository at this point in the history
…meter
  • Loading branch information
horshack-dpreview committed Aug 29, 2020
1 parent c7d5499 commit b11e54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canomate.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def __init__(self, paramDict):
self.fAppendLastDownloadedFilenames = self.getDictValueAsBool(paramDict, 'appendlastdownloadstoargs', False)
self.outputFilename = self.getDictValueAsStr(paramDict, 'outputfile', "")
self.outputFileWriteMethod = self.getDictValueStrChoice(paramDict, 'writemode', ['append', 'overwrite', 'overwrite_first_time'], 'append')
self.assertExitCode = self.getDictValueAsScalar(paramDict, 'assertexitcode', None, int, fRequiredValue=True)
self.assertExitCode = self.getDictValueAsScalar(paramDict, 'assertexitcode', None, int, fRequiredValue=False)
return super().__init__(paramDict)
def execute(self):
args = self.args
Expand Down

0 comments on commit b11e54d

Please sign in to comment.