aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/set.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-11 07:46:22 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-11 07:46:22 -0400
commitf87355fddc2a931e3f984d074a713f4313d5f709 (patch)
tree4c217b7a2b9867c74e8f0f5bd1d05180cbbc6e90 /becommands/set.py
parent4038e118782113b404f0995e3c919d6e58195c22 (diff)
downloadbugseverywhere-f87355fddc2a931e3f984d074a713f4313d5f709.tar.gz
Adjustments to new versioned_property behavior.
Also adjusted libbe/comment.py to move to user-specified alt_ids, rather than uuids.
Diffstat (limited to 'becommands/set.py')
-rw-r--r--becommands/set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/set.py b/becommands/set.py
index e771018..939236a 100644
--- a/becommands/set.py
+++ b/becommands/set.py
@@ -26,7 +26,7 @@ def _value_string(bd, setting):
val = bd.settings.get(setting, settings_object.EMPTY)
if val == settings_object.EMPTY:
default = getattr(bd, bd._setting_name_to_attr_name(setting))
- if default != settings_object.EMPTY:
+ if default not in [None, settings_object.EMPTY]:
val = "None (%s)" % default
else:
val = None