diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-05 01:10:01 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-05 01:10:01 -0500 |
commit | 49b8c7e7da7fa3a4f3c6092cf0bfdb1c1de863e8 (patch) | |
tree | 8e65aad5f5e4c412fee492fecc35c903345625de /becommands/list.py | |
parent | 69300422c6825af80574545b11d7565aa8f38ee3 (diff) | |
download | bugseverywhere-49b8c7e7da7fa3a4f3c6092cf0bfdb1c1de863e8.tar.gz |
Set boolean options default to False in becommands/list.py
Otherwise they default to None. It doesn't matter at the moment,
since all the comparisons seem to be
if options.XYZ == True:
but this protects against confusion in the future if someone tries
if options.XYZ == False:
Diffstat (limited to 'becommands/list.py')
-rw-r--r-- | becommands/list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/list.py b/becommands/list.py index 4711789..2749228 100644 --- a/becommands/list.py +++ b/becommands/list.py @@ -196,7 +196,7 @@ def get_parser(): long = "--%s" % s[1] help = s[2] parser.add_option(short, long, action="store_true", - dest=attr, help=help) + dest=attr, help=help, default=False) return parser |