diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-11 08:01:45 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-11 08:01:45 -0400 |
commit | c5fcffdcf6944eecc8fac0582ab938961eb987a8 (patch) | |
tree | cd855b687fe97bcba20ca745c5fd657059786fcd /libbe | |
parent | f87355fddc2a931e3f984d074a713f4313d5f709 (diff) | |
download | bugseverywhere-c5fcffdcf6944eecc8fac0582ab938961eb987a8.tar.gz |
"be comment --xml" now translates comment uuids to alt_ids.
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/comment.py | 2 |
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): |