[python-bugzilla] [PATCH] Use urllib unquote to allow boolean support for e.g. spaces in values

stickster at gmail.com stickster at gmail.com
Thu Mar 20 19:58:15 UTC 2014


From: "Paul W. Frields" <stickster at gmail.com>

---
 bugzilla/rhbugzilla.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
index 399ecb0..3fac011 100644
--- a/bugzilla/rhbugzilla.py
+++ b/bugzilla/rhbugzilla.py
@@ -12,7 +12,7 @@
 
 from bugzilla import log
 from bugzilla.bugzilla4 import Bugzilla44 as _parent
-
+from urllib import urlunquote as urllib_unquote
 
 class RHBugzilla(_parent):
     '''
@@ -281,7 +281,7 @@ class RHBugzilla(_parent):
                         typ = args[1]
                         fval = None
                         if len(args) == 3:
-                            fval = args[2]
+                            fval = urllib_unquote(args[2])
                     else:
                         field = key
 
-- 
1.8.5.3



More information about the python-bugzilla mailing list