rset.py
changeset 10314 8f3783dc6358
parent 10313 ae9e23cf8790
child 10354 635cfac73d28
--- a/rset.py	Sun Jul 27 14:57:51 2014 +0200
+++ b/rset.py	Mon Dec 01 16:50:41 2014 +0100
@@ -372,7 +372,7 @@
         if encoded is not _MARKER:
             warn('[3.21] the "encoded" argument is deprecated', DeprecationWarning)
         encoding = self.req.encoding
-        rqlstr = self.syntax_tree().as_string(encoding, self.args)
+        rqlstr = self.syntax_tree().as_string(kwargs=self.args)
         # sounds like we get encoded or unicode string due to a bug in as_string
         if not encoded:
             if isinstance(rqlstr, unicode):