summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-10-08 17:32:41 -0400
committerWill Woods <wwoods@redhat.com>2008-10-08 17:32:41 -0400
commita7adb0126fbe0a629014c138784800defcbc6d8e (patch)
tree162da3d1dbe19221ec788bbf0594733b8d6c2c91
parent13a31502fbd4a7423995cbdfa4d814f69619573c (diff)
downloadpython-bugzilla-a7adb0126fbe0a629014c138784800defcbc6d8e.zip
python-bugzilla-a7adb0126fbe0a629014c138784800defcbc6d8e.tar.gz
python-bugzilla-a7adb0126fbe0a629014c138784800defcbc6d8e.tar.xz
Drop spurious definitions of functions that just raise NotImplementedError - BugzillaBase handles that just fine
-rw-r--r--bugzilla/bugzilla3.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/bugzilla/bugzilla3.py b/bugzilla/bugzilla3.py
index 12f2af3..a7debd1 100644
--- a/bugzilla/bugzilla3.py
+++ b/bugzilla/bugzilla3.py
@@ -46,8 +46,6 @@ class Bugzilla3(bugzilla.base.BugzillaBase):
if 'assigned_to' not in keylist:
keylist.append('assigned_to')
return keylist
- def _getqueryinfo(self):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
def _getproducts(self):
'''This throws away a bunch of data that RH's getProdInfo
didn't return. Ah, abstraction.'''
@@ -59,8 +57,6 @@ class Bugzilla3(bugzilla.base.BugzillaBase):
product = self._product_name_to_id(product)
r = self._proxy.Bug.legal_values({'product_id':product,'field':'component'})
return r['values']
- def _getcomponentsdetails(self,product):
- raise NotImplementedError
#---- Methods for reading bugs and bug info
@@ -75,30 +71,6 @@ class Bugzilla3(bugzilla.base.BugzillaBase):
_getbugsimple = _getbug
_getbugssimple = _getbugs
- # Bugzilla 3.0 doesn't have a *lot* of things, actually.
- def _query(self,query):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _addcomment(self,id,comment,private=False,
- timestamp='',worktime='',bz_gid=''):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _setstatus(self,id,status,comment='',private=False,private_in_it=False,nomail=False):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _closebug(self,id,resolution,dupeid,fixedin,comment,isprivate,private_in_it,nomail):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _setassignee(self,id,**data):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _updatedeps(self,id,deplist):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _updatecc(self,id,cclist,action,comment='',nomail=False):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _updatewhiteboard(self,id,text,which,action):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- # TODO: update this when the XMLRPC interface grows requestee support
- def _updateflags(self,id,flags):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
- def _attachfile(self,id,**attachdata):
- raise NotImplementedError, "Bugzilla 3.0 does not support this method."
-
#---- createbug - call to create a new bug
createbug_required = ('product','component','summary','version',