diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2006-06-02 04:03:24 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2006-06-02 04:03:24 +0000 |
commit | 82c9874c6ca4ad72b60644fcf5c5ed060ed0f514 (patch) | |
tree | 80a19b0c1e2c03a314a3969c9047ccd686410bc3 /lib/python/bugs.py | |
parent | ce4089140ea0095fd116eae121793b14d1aaffc3 (diff) |
* lib/python/bugs.py (FileBase.__iter__):
Fix name generation for bugs involving <no-dsa> notes.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4110 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r-- | lib/python/bugs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py index 456f354e82..3d21e188c5 100644 --- a/lib/python/bugs.py +++ b/lib/python/bugs.py @@ -756,7 +756,7 @@ class FileBase(debian_support.PackageFile): if not self.isUniqueName(record_name): first_bug = 0 for n in pkg_notes: - for b in n.bugs: + for b in getattr(n, 'bugs', []): first_bug = b break if first_bug: |