From 2f073b7393dd660d21870f2a1b68e250efcf8cc9 Mon Sep 17 00:00:00 2001 From: "lmacken@redhat.com" Date: Mon, 5 Nov 2007 16:37:53 -0500 Subject: Squash a couple of bugs --- bugzilla.py | 4 ++-- 1 file 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): -- cgit