summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlmacken@redhat.com <lmacken@redhat.com>2007-11-05 16:37:53 -0500
committerWill Woods <wwoods@redhat.com>2007-11-05 16:57:36 -0500
commit2f073b7393dd660d21870f2a1b68e250efcf8cc9 (patch)
tree3b178bf2ff645fae3de352b2256f65e4ec888153
parentef28cd00b1bb53338bf9b6b7c05183f90462669a (diff)
downloadpython-bugzilla-2f073b7393dd660d21870f2a1b68e250efcf8cc9.tar.gz
python-bugzilla-2f073b7393dd660d21870f2a1b68e250efcf8cc9.tar.xz
python-bugzilla-2f073b7393dd660d21870f2a1b68e250efcf8cc9.zip
Squash a couple of bugs
-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):