We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a6570f commit fe5e135Copy full SHA for fe5e135
2 files changed
bugzilla/base.py
@@ -584,8 +584,8 @@ def logout(self):
584
#############################################
585
586
def _getbugfields(self):
587
- '''IMPLEMENT ME: Get bugfields from Bugzilla.'''
588
- raise NotImplementedError
+ raise RuntimeError("This bugzilla version does not support listing "
+ "bug fields.")
589
590
def getbugfields(self, force_refresh=False):
591
'''
@@ -1646,7 +1646,8 @@ def adduser(self, user, name):
1646
self.createuser(user, name)
1647
1648
def getqueryinfo(self, force_refresh=False):
1649
- raise NotImplementedError("getqueryinfo is deprecated and the "
1650
- "information is not provided by any modern bugzilla.")
+ ignore = force_refresh
+ raise RuntimeError("getqueryinfo is deprecated and the "
1651
+ "information is not provided by any modern bugzilla.")
1652
querydata = property(getqueryinfo)
1653
querydefaults = property(getqueryinfo)
setup.py
@@ -146,8 +146,6 @@ def _run(self):
146
147
# Would be nice to disable these 2 but it just
148
# ain't work reorganizing the code to not trigger them
149
- # W0223: Abstract method not overwritten in
150
- "--disable W0223 "
151
# W0212: Access to a protected member of a client class
152
"--disable W0212 "
153
0 commit comments