etwist/request.py
changeset 10662 10942ed172de
parent 9147 01124cfd4b1f
--- a/etwist/request.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/etwist/request.py	Tue Sep 15 16:15:03 2015 +0200
@@ -31,7 +31,7 @@
         self._twreq = req
         super(CubicWebTwistedRequestAdapter, self).__init__(
             vreg, https, req.args, headers=req.received_headers)
-        for key, name_stream_list in req.files.iteritems():
+        for key, name_stream_list in req.files.items():
             for name, stream in name_stream_list:
                 if name is not None:
                     name = unicode(name, self.encoding)