From 3c236898604770ba8fedbd4c812315dce097d971 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 10 Sep 2008 12:06:04 -0400 Subject: Fix attachfile - thanks clumens --- bugzilla/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bugzilla/base.py') 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): -- cgit