summaryrefslogtreecommitdiffstats
path: root/bugzilla/base.py
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-08-15 12:43:27 -0400
committerWill Woods <wwoods@redhat.com>2008-08-15 12:43:27 -0400
commitd4f2581e5cb6fa11b9510c2e0a3ea6e52411fec4 (patch)
tree015528b4d969bdd650540416d4091164cf06a364 /bugzilla/base.py
parent0e070830f198a314fbedebd108de97c738636bd4 (diff)
downloadpython-bugzilla-d4f2581e5cb6fa11b9510c2e0a3ea6e52411fec4.tar.gz
python-bugzilla-d4f2581e5cb6fa11b9510c2e0a3ea6e52411fec4.tar.xz
python-bugzilla-d4f2581e5cb6fa11b9510c2e0a3ea6e52411fec4.zip
Modify _updatedeps slightly (it wasn't being used by anything anyway) and implement it for bz32 and rhbz
Diffstat (limited to 'bugzilla/base.py')
-rw-r--r--bugzilla/base.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py
index 59c505f..8158998 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -476,10 +476,11 @@ class BugzillaBase(object):
def _setassignee(self,id,**data):
'''IMPLEMENT ME: set the assignee of the given bug ID'''
raise NotImplementedError
- def _updatedeps(self,id,deplist):
+ def _updatedeps(self,id,blocked,dependson,action):
'''IMPLEMENT ME: update the deps (blocked/dependson) for the given bug.
- updateDepends($bug_id,$data,$username,$password,$nodependencyemail)
- #data: 'blocked'=>id,'dependson'=>id,'action' => ('add','remove')'''
+ blocked, dependson: list of bug ids/aliases
+ action: 'add' or 'remove'
+ '''
raise NotImplementedError
def _updatecc(self,id,cclist,action,comment='',nomail=False):
'''IMPLEMENT ME: Update the CC list using the action and account list