wsgi/request.py
changeset 10662 10942ed172de
parent 10603 65ad6980976e
child 10673 9924fd69bcba
--- a/wsgi/request.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/wsgi/request.py	Tue Sep 15 16:15:03 2015 +0200
@@ -81,7 +81,7 @@
                                                   headers= headers_in)
         self.content = environ['wsgi.input']
         if files is not None:
-            for key, part in files.iteritems():
+            for key, part in files.items():
                 self.form[key] = (part.filename, part.file)
 
     def __repr__(self):
@@ -148,7 +148,7 @@
         if params is None:
             return
         encoding = self.encoding
-        for param, val in params.iteritems():
+        for param, val in params.items():
             if isinstance(val, (tuple, list)):
                 val = [
                     unicode(x, encoding) if isinstance(x, str) else x