aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/comment.py')
-rw-r--r--libbe/comment.py2
1 files changed, 1 insertions, 1 deletions
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 = ["<comment>",
" <uuid>%s</uuid>" % self.uuid,
" <short-name>%s</short-name>" % (shortname,),]
- if self.in_reply_to != None:
+ if self.in_reply_to != settings_object.EMPTY:
lines.append(" <in-reply-to>%s</in-reply-to>" % self.in_reply_to)
lines.extend([
" <from>%s</from>" % self._setting_attr_string("From"),