aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-05 01:10:01 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-05 01:10:01 -0500
commit49b8c7e7da7fa3a4f3c6092cf0bfdb1c1de863e8 (patch)
tree8e65aad5f5e4c412fee492fecc35c903345625de /becommands
parent69300422c6825af80574545b11d7565aa8f38ee3 (diff)
downloadbugseverywhere-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')
-rw-r--r--becommands/list.py2
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