From ccea238ede22c81100c0456ede42642f2f82947b Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 23 May 2011 14:20:57 +0200 Subject: [PATCH 18/19] novell bugzilla support in getBugzillaClassForURL --- bugzilla/__init__.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/bugzilla/__init__.py b/bugzilla/__init__.py index 97d8706..8b26835 100644 --- a/bugzilla/__init__.py +++ b/bugzilla/__init__.py @@ -23,6 +23,9 @@ classlist = ['Bugzilla3', 'Bugzilla32', 'Bugzilla34', 'Bugzilla36', 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 = '' -- 1.7.4.1