cubicweb/pyramid/resources.py
changeset 12567 26744ad37953
parent 11967 83739be20fab
child 12911 a17cbf539a69
--- a/cubicweb/pyramid/resources.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/pyramid/resources.py	Fri Apr 05 17:58:19 2019 +0200
@@ -20,8 +20,6 @@
 
 """Pyramid resource definitions for CubicWeb."""
 
-from six import text_type
-
 from rql import TypeResolverException
 
 from pyramid.decorator import reify
@@ -62,7 +60,7 @@
                 # conflicting eid/type
                 raise HTTPNotFound()
         else:
-            rset = req.execute(st.as_string(), {'x': text_type(self.value)})
+            rset = req.execute(st.as_string(), {'x': self.value})
         return rset