14
0
Files
python-bugzilla/python-bugzilla-0.5-recognize-novell.patch

15 lines
516 B
Diff
Raw Normal View History

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