summaryrefslogtreecommitdiffstats
path: root/bugzilla.py
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla.py')
-rw-r--r--bugzilla.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzilla.py b/bugzilla.py
index 6755620..eadd2f4 100644
--- a/bugzilla.py
+++ b/bugzilla.py
@@ -161,7 +161,7 @@ class Bugzilla(object):
return self._bugfields
bugfields = property(fget=lambda self: self.getbugfields(),
- fdel=lambda self: setattr(self,_bugfields,None))
+ fdel=lambda self: setattr(self,'_bugfields',None))
def _getqueryinfo(self):
return self._proxy.bugzilla.getQueryInfo(self.user,self.password)
@@ -456,7 +456,7 @@ class Bugzilla(object):
if 'contenttype' not in kwargs:
kwargs['contenttype'] = 'application/octet-stream'
kwargs['data'] = self.__attachment_encode(f)
- (attachid, mailresults) = server._proxy.bugzilla.addAttachment(id,kwargs,self.user,self.password)
+ (attachid, mailresults) = self._proxy.bugzilla.addAttachment(id,kwargs,self.user,self.password)
return attachid
def openattachment(self,attachid):