File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ class NovellBugzilla(Bugzilla34):
3737 pass
3838
3939
40- def getBugzillaClassForURL (url ):
40+ def getBugzillaClassForURL (url , sslverify ):
4141 url = Bugzilla3 .fix_url (url )
4242 log .debug ("Detecting subclass for %s" , url )
43- s = ServerProxy (url , RequestsTransport (url ))
43+ s = ServerProxy (url , RequestsTransport (url , sslverify = sslverify ))
4444 rhbz = False
4545 bzversion = ''
4646 c = None
@@ -114,7 +114,8 @@ def __init__(self, **kwargs):
114114 # Use of __init__ of non parent class
115115 # We base of _BugzillaBase to help pylint figure things out
116116
117- c = getBugzillaClassForURL (kwargs ['url' ])
117+ c = getBugzillaClassForURL (kwargs ['url' ],
118+ kwargs .get ('sslverify' , True ))
118119 if not c :
119120 raise ValueError ("Couldn't determine Bugzilla version for %s" %
120121 kwargs ['url' ])
You can’t perform that action at this time.
0 commit comments