summaryrefslogtreecommitdiffstats
path: root/bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla')
-rw-r--r--bugzilla/bugzilla3.py3
-rw-r--r--bugzilla/rhbugzilla.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/bugzilla/bugzilla3.py b/bugzilla/bugzilla3.py
index 8e799c9..ddd310d 100644
--- a/bugzilla/bugzilla3.py
+++ b/bugzilla/bugzilla3.py
@@ -179,7 +179,8 @@ class RHBugzilla32(Bugzilla32):
updates is a dict containing pairs like so: {'fieldname':'newvalue'}
'''
# TODO document changeable fields & return values
- # TODO I think we need to catch XMLRPC exceptions to get
+ # TODO I think we need to catch XMLRPC exceptions to get a useful
+ # return value
return self._proxy.Bug.update({'ids':ids,'updates':updates})
def _update_bug(self,id,updates):
diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
index a0a5656..6ea8902 100644
--- a/bugzilla/rhbugzilla.py
+++ b/bugzilla/rhbugzilla.py
@@ -198,6 +198,7 @@ class RHBugzilla(bugzilla.base.BugzillaBase):
the blocked/dependson lists. This may be slow.
'''
r = []
+ # Massage input to match what RHBZ expects
if action == 'delete':
action == 'remove'
data = {'id':id, 'action':action, 'blocked':'', 'dependson':''}