summaryrefslogtreecommitdiffstats
path: root/bugzilla.py
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla.py')
-rw-r--r--bugzilla.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bugzilla.py b/bugzilla.py
index 08d0cc8..6e4b8a7 100644
--- a/bugzilla.py
+++ b/bugzilla.py
@@ -468,7 +468,7 @@ class Bug(object):
def refreshattr(self,name):
delattr(self,name)
- r = self.bugzilla.query({'bug_id':self.bug_id,'column_list':[name]})
+ r = self.bugzilla._query({'bug_id':self.bug_id,'column_list':[name]})
self.__dict__.update(r['bugs'][0])
return self.__dict__[name]
@@ -483,10 +483,6 @@ class Bug(object):
(append,prepend,overwrite) with the given text on the given whiteboard
for the given bug.'''
self.bugzilla._updatewhiteboard(self.bug_id,text,which,action)
- # NOTE: right now we don't get to the refreshattr here, because the
- # server is throwing an XMLRPC fault on _updatewhiteboard.
- # It still *works* - you can manually refresh and see the change - but
- # for some reason it's complaining. Might be a bugzilla bug.
self.refreshattr("%s_whiteboard" % which)
def appendwhiteboard(self,text,which='status'):
'''Append the given text (with a space before it) to the given