From 9ef6ad576c01444e35b91dfee8d05b39ec911d45 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 20 Jul 2009 18:39:31 -0400 Subject: Cleaned up some outdated libbe.settings_object.EMPTY cruft. From back before commit wking@drexel.edu-20090619184215-nfx205yaj02sqrqx cleaned up the versioned_property implementation. Also a few style fixes and typos. --- libbe/comment.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbe/comment.py') diff --git a/libbe/comment.py b/libbe/comment.py index e2f4ba7..60cccff 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -258,10 +258,9 @@ class Comment(Tree, settings_object.SavedSettingsObject): def _setting_attr_string(self, setting): value = getattr(self, setting) - if value in [None, settings_object.EMPTY]: + if value == None: return "" - else: - return str(value) + return str(value) def xml(self, indent=0, shortname=None): """ -- cgit