Fix modified ID reference in libbe.diff.Diff._changed_bugs
authorW. Trevor King <wking@drexel.edu>
Mon, 18 Jan 2010 19:28:10 +0000 (14:28 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 18 Jan 2010 19:28:10 +0000 (14:28 -0500)
libbe/diff.py

index 5632267aa0e7f98d576aba774339bc0c81f595a0..94a2dc3f456db681ef8da9a421b054a715f587be 100644 (file)
@@ -397,7 +397,7 @@ class Diff (object):
             for id in mod_ids:
                 for a_id in self.new_bugdir.storage.ancestors(id):
                     if a_id.count('/') == 0:
-                        if a_id in [b.id.storage() for b in modified]:
+                        if a_id in [b[0].id.storage() for b in modified]:
                             break
                         try:
                             new_bug = self.new_bugdir.bug_from_uuid(a_id)