1919 from xmlrpclib import Fault , ServerProxy
2020
2121from .apiversion import version , __version__
22- from .base import BugzillaBase as _BugzillaBase
22+ from .base import BugzillaBase
2323from .transport import BugzillaError , _RequestsTransport
24- from .bugzilla3 import Bugzilla3 , Bugzilla32 , Bugzilla34 , Bugzilla36
25- from .bugzilla4 import Bugzilla4 , Bugzilla42 , Bugzilla44
26- from .rhbugzilla import RHBugzilla , RHBugzilla3 , RHBugzilla4
24+ from .rhbugzilla import RHBugzilla
25+ from .oldclasses import (Bugzilla3 , Bugzilla32 , Bugzilla34 , Bugzilla36 ,
26+ Bugzilla4 , Bugzilla42 , Bugzilla44 ,
27+ NovellBugzilla , RHBugzilla3 , RHBugzilla4 )
2728
2829log = getLogger (__name__ )
2930
3031
31- # Back compat for deleted NovellBugzilla
32- class NovellBugzilla (Bugzilla44 ):
33- pass
34-
35-
3632def _getBugzillaClassForURL (url , sslverify ):
37- url = Bugzilla3 .fix_url (url )
33+ url = BugzillaBase .fix_url (url )
3834 log .debug ("Detecting subclass for %s" , url )
3935 s = ServerProxy (url , _RequestsTransport (url , sslverify = sslverify ))
4036
@@ -56,7 +52,7 @@ def _getBugzillaClassForURL(url, sslverify):
5652 pass
5753
5854
59- class Bugzilla (_BugzillaBase ):
55+ class Bugzilla (BugzillaBase ):
6056 '''
6157 Magical Bugzilla class that figures out which Bugzilla implementation
6258 to use and uses that.
@@ -74,6 +70,8 @@ def _init_class_from_url(self, url, sslverify):
7470 return True
7571
7672
73+ del (BugzillaBase )
74+
7775# This is the list of possible Bugzilla instances an app can use,
7876# bin/bugzilla used to use it for the --bztype field
7977classlist = [
0 commit comments