@@ -32,7 +32,7 @@ class NovellBugzilla(Bugzilla34):
3232
3333def getBugzillaClassForURL (url ):
3434 url = Bugzilla3 .fix_url (url )
35- log .debug ("Detecting subclass for %s" % url )
35+ log .debug ("Detecting subclass for %s" , url )
3636 s = xmlrpclib .ServerProxy (url )
3737 rhbz = False
3838 bzversion = ''
@@ -53,7 +53,7 @@ def getBugzillaClassForURL(url):
5353 rhbz = True
5454 except xmlrpclib .Fault :
5555 pass
56- log .debug ("rhbz=%s" % str (rhbz ))
56+ log .debug ("rhbz=%s" , str (rhbz ))
5757
5858 # Try to get the bugzilla version string
5959 try :
@@ -62,7 +62,7 @@ def getBugzillaClassForURL(url):
6262 bzversion = r ['version' ]
6363 except xmlrpclib .Fault :
6464 pass
65- log .debug ("bzversion='%s'" % str (bzversion ))
65+ log .debug ("bzversion='%s'" , str (bzversion ))
6666
6767 # note preference order: RHBugzilla* wins if available
6868 if rhbz :
@@ -73,7 +73,7 @@ def getBugzillaClassForURL(url):
7373 elif bzversion .startswith ("4.2" ):
7474 c = Bugzilla42
7575 else :
76- log .debug ("No explicit match for %s, using latest bz4" % bzversion )
76+ log .debug ("No explicit match for %s, using latest bz4" , bzversion )
7777 c = Bugzilla44
7878 else :
7979 if bzversion .startswith ('3.6' ):
@@ -99,7 +99,7 @@ class Bugzilla(_BugzillaBase):
9999 # __init__ method of base class not called
100100
101101 def __init__ (self , ** kwargs ):
102- log .info ("Bugzilla v%s initializing" % __version__ )
102+ log .info ("Bugzilla v%s initializing" , __version__ )
103103 if 'url' not in kwargs :
104104 raise TypeError ("You must pass a valid bugzilla URL" )
105105
@@ -114,7 +114,7 @@ def __init__(self, **kwargs):
114114
115115 self .__class__ = c
116116 c .__init__ (self , ** kwargs )
117- log .info ("Chose subclass %s v%s" % ( c .__name__ , c .version ) )
117+ log .info ("Chose subclass %s v%s" , c .__name__ , c .version )
118118
119119
120120# This is the list of possible Bugzilla instances an app can use,
0 commit comments