15
0
Files
python-bugzilla/NovellBugzilla.patch

14 lines
732 B
Diff

Index: python-bugzilla-1.2.2/build/lib/bugzilla/base.py
===================================================================
--- python-bugzilla-1.2.2.orig/build/lib/bugzilla/base.py 2016-07-12 10:17:49.836875522 +0200
+++ python-bugzilla-1.2.2/build/lib/bugzilla/base.py 2016-07-14 15:09:36.151992677 +0200
@@ -994,7 +994,7 @@ class BugzillaBase(object):
log.debug("Calling Bug.get with: %s", getbugdata)
r = self._proxy.Bug.get(getbugdata)
- if self.bz_ver_major >= 4:
+ if self.bz_ver_major >= 4 or self.__class__.__name__=='NovellBugzilla':
bugdict = dict([(b['id'], b) for b in r['bugs']])
else:
bugdict = dict([(b['id'], b['internals']) for b in r['bugs']])