cubicweb/etwist/request.py
changeset 11913 4516c3956d46
parent 11870 3a84a79c4ed5
--- a/cubicweb/etwist/request.py	Fri Jan 20 16:53:28 2017 +0100
+++ b/cubicweb/etwist/request.py	Mon Jan 23 11:02:21 2017 +0100
@@ -26,10 +26,10 @@
     """ from twisted .req to cubicweb .form
     req.files are put into .form[<filefield>]
     """
-    def __init__(self, req, vreg, https):
+    def __init__(self, req, vreg):
         self._twreq = req
         super(CubicWebTwistedRequestAdapter, self).__init__(
-            vreg, https, req.args, headers=req.received_headers)
+            vreg, req.args, headers=req.received_headers)
         for key, name_stream_list in req.files.items():
             for name, stream in name_stream_list:
                 if name is not None: