summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-08-18 18:00:11 -0400
committerWill Woods <wwoods@redhat.com>2008-08-18 18:00:11 -0400
commit037f5df1207c86d6a7ca0aeff6f584d66aee7d75 (patch)
tree9a031fbe7a15b846dd8e61e64442036044c447f4
parentaaf46833270ce5f963d566162ff3b3af638bb8ba (diff)
downloadpython-bugzilla-037f5df1207c86d6a7ca0aeff6f584d66aee7d75.tar.gz
python-bugzilla-037f5df1207c86d6a7ca0aeff6f584d66aee7d75.tar.xz
python-bugzilla-037f5df1207c86d6a7ca0aeff6f584d66aee7d75.zip
comment cleanups
-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':''}