aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-11 08:01:45 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-11 08:01:45 -0400
commitc5fcffdcf6944eecc8fac0582ab938961eb987a8 (patch)
treecd855b687fe97bcba20ca745c5fd657059786fcd /libbe
parentf87355fddc2a931e3f984d074a713f4313d5f709 (diff)
downloadbugseverywhere-c5fcffdcf6944eecc8fac0582ab938961eb987a8.tar.gz
"be comment --xml" now translates comment uuids to alt_ids.
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):