From 22aad60c0372e7a573ee2f9b908c11c96c48468f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 22 Jun 2009 10:02:11 -0400 Subject: Fixed libbe.settings_object.EMPTY output in bug/comment XML. The xml() method hadn't been updated since the settings_object revamp. --- libbe/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe/comment.py') diff --git a/libbe/comment.py b/libbe/comment.py index 78a6b6a..8d03a7b 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -237,7 +237,7 @@ class Comment(Tree, settings_object.SavedSettingsObject): lines = ["", " %s" % self.uuid, " %s" % (shortname,),] - if self.in_reply_to != None: + if self.in_reply_to != settings_object.EMPTY: lines.append(" %s" % self.in_reply_to) lines.extend([ " %s" % self._setting_attr_string("From"), -- cgit