forked from pool/python-bugzilla
Copy from devel:languages:python/python-bugzilla based on submit request 43700 from user coolo OBS-URL: https://build.opensuse.org/request/show/43700 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bugzilla?expand=0&rev=7
15 lines
516 B
Diff
15 lines
516 B
Diff
Index: python-bugzilla-0.5/bugzilla/__init__.py
|
|
===================================================================
|
|
--- python-bugzilla-0.5.orig/bugzilla/__init__.py
|
|
+++ python-bugzilla-0.5/bugzilla/__init__.py
|
|
@@ -22,6 +22,9 @@ classlist = ['Bugzilla3', 'Bugzilla32',
|
|
|
|
def getBugzillaClassForURL(url):
|
|
log.debug("Choosing subclass for %s" % url)
|
|
+ if url.startswith('https://bugzilla.novell.com'):
|
|
+ return NovellBugzilla
|
|
+
|
|
s = xmlrpclib.ServerProxy(url)
|
|
rhbz = False
|
|
bzversion = ''
|