aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/comment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/comment.py b/libbe/comment.py
index f573cea..d4d47a8 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -338,7 +338,7 @@ class Comment(Tree, settings_object.SavedSettingsObject):
elif verbose == True:
print >> sys.stderr, "Ignoring unknown tag %s in %s" \
% (child.tag, comment.tag)
- if self.alt_id == None and uuid != None:
+ if self.alt_id == None and uuid not in [None, self.uuid]:
self.alt_id = uuid
def string(self, indent=0, shortname=None):