summaryrefslogtreecommitdiffstats
path: root/bugzilla/base.py
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-09-10 12:06:04 -0400
committerWill Woods <wwoods@redhat.com>2008-09-10 12:06:04 -0400
commit3c236898604770ba8fedbd4c812315dce097d971 (patch)
treeecefa096627d7e9a2b22052d65dbe76e0b522fbd /bugzilla/base.py
parente3db31cfd4b9c98ca32066257d45afd71de9bcf5 (diff)
downloadpython-bugzilla-3c236898604770ba8fedbd4c812315dce097d971.tar.gz
python-bugzilla-3c236898604770ba8fedbd4c812315dce097d971.tar.xz
python-bugzilla-3c236898604770ba8fedbd4c812315dce097d971.zip
Fix attachfile - thanks clumens
Diffstat (limited to 'bugzilla/base.py')
-rw-r--r--bugzilla/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py
index 82038f7..d923280 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -522,7 +522,7 @@ class BugzillaBase(object):
if 'contenttype' not in kwargs:
kwargs['contenttype'] = 'application/octet-stream'
kwargs['data'] = self._attachment_encode(f)
- (attachid, mailresults) = self._attachfile(id,kwargs)
+ (attachid, mailresults) = self._attachfile(id,**kwargs)
return attachid
def _attachment_uri(self,attachid):