14
0
Files
python-bugzilla/python-bugzilla-0.5-recognize-novell.patch
OBS User autobuild 68773d49bc Accepting request 43700 from devel:languages:python
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
2010-07-23 20:31:27 +00:00

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 = ''