diff options
-rwxr-xr-x | patchtracker/SourceArchive.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/patchtracker/SourceArchive.py b/patchtracker/SourceArchive.py index 4edb559..d8b3b2e 100755 --- a/patchtracker/SourceArchive.py +++ b/patchtracker/SourceArchive.py @@ -108,10 +108,11 @@ class SourcePackage: except UnicodeDecodeError: self.maintainers = [unicode(info['Maintainer'], 'latin-1')] if info.has_key('Uploaders'): - try: - self.maintainers.extend(unicode(info['Uploaders'].split(", "))) - except UnicodeDecodeError: - self.maintainers.extend(unicode(info['Uploaders'].split(", "), 'latin-1')) + for up in info['Uploaders'].split(", "): + try: + self.maintainers.append(unicode(up)) + except UnicodeDecodeError: + self.maintainers.append(unicode(up, 'latin-1')) self.idx = getidx(self) for f in info['Files']: |