From 037f5df1207c86d6a7ca0aeff6f584d66aee7d75 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 18 Aug 2008 18:00:11 -0400 Subject: comment cleanups --- bugzilla/bugzilla3.py | 3 ++- bugzilla/rhbugzilla.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'bugzilla') 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':''} -- cgit