From: W. Trevor King Date: Mon, 18 Jan 2010 19:28:10 +0000 (-0500) Subject: Fix modified ID reference in libbe.diff.Diff._changed_bugs X-Git-Tag: 1.0.0~59^2~47^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0fa5a2de59c409301b908d675d028bf2fe5e541;p=be.git Fix modified ID reference in libbe.diff.Diff._changed_bugs --- diff --git a/libbe/diff.py b/libbe/diff.py index 5632267..94a2dc3 100644 --- a/libbe/diff.py +++ b/libbe/diff.py @@ -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)