runtest.py: --help was broken without --enable

Not setting --enable caused a Python error because the "enable"
member of the config wasn't set at all. Must set a default.
This commit is contained in:
Patrick Ohly 2011-04-01 18:16:01 +08:00
parent 998dac31af
commit b64763ee53

View file

@ -482,7 +482,7 @@ class SyncEvolutionTest(Action):
parser = optparse.OptionParser()
parser.add_option("-e", "--enable",
action="append", type="string", dest="enabled",
action="append", type="string", dest="enabled", default=[],
help="use this to enable specific actions instead of executing all of them (can be used multiple times)")
parser.add_option("-n", "--no-logs",
action="store_true", dest="nologs",