branch | stable |
changeset 4892 | 7ee8f128be9e |
parent 4891 | 90203ec7b3e3 |
child 4899 | c666d265fb95 |
--- 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: