forked from pool/python-bugzilla
Accepting request 408509 from home:jsegitz:branches:devel:languages:python
- Update to version 1.2.2 - Added NovellBugzilla.patch to ensure it works with SUSE internal bugzilla. OBS-URL: https://build.opensuse.org/request/show/408509 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=36
This commit is contained in:
13
NovellBugzilla.patch
Normal file
13
NovellBugzilla.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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']])
|
||||
Reference in New Issue
Block a user