Merge "Make watcherclient/shell.py reproducible"
This commit is contained in:
commit
2af23e860d
@ -203,7 +203,9 @@ class WatcherShell(app.App):
|
||||
LOG.info("END return value: %s", ret_val)
|
||||
|
||||
|
||||
def main(argv=sys.argv[1:]):
|
||||
def main(argv=None):
|
||||
if argv is None:
|
||||
argv = sys.argv[1:]
|
||||
watcher_app = WatcherShell()
|
||||
return watcher_app.run(argv)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user