author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 12 Mar 2010 14:52:22 +0100 | |
branch | stable |
changeset 4892 | 7ee8f128be9e |
parent 4891 | 90203ec7b3e3 |
child 4893 | 15ae9a33a7f2 |
--- a/req.py Fri Mar 12 14:51:59 2010 +0100 +++ b/req.py Fri Mar 12 14:52:22 2010 +0100 @@ -231,7 +231,7 @@ def build_url_params(self, **kwargs): """return encoded params to incorporate them in an URL""" args = [] - for param, values in kwargs.items(): + for param, values in kwargs.iteritems(): if not isinstance(values, (list, tuple)): values = (values,) for value in values: