We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726f6c1 commit 1cb7f07Copy full SHA for 1cb7f07
1 file changed
bugzilla/__init__.py
@@ -29,11 +29,12 @@ def getBugzillaClassForURL(url):
29
bzversion = ''
30
c = None
31
32
- # Check for a RH-only method
+ # Check for a Red Hat extension
33
try:
34
- log.debug("Checking for RH Bugzilla method bugzilla.getProdInfo()")
35
- prodinfo = s.bugzilla.getProdInfo()
36
- rhbz = True
+ log.debug("Checking for Red Hat Bugzilla extension")
+ extensions = s.Bugzilla.extensions()
+ if extensions.get('extensions', {}).get('RedHat', False):
37
+ rhbz = True
38
except xmlrpclib.Fault:
39
pass
40
log.debug("rhbz=%s" % str(rhbz))
0 commit comments