##// END OF EJS Templates
hgweb: simplify uenv assignment...
Gregory Szorc -
r49759:7dc430b8 default
parent child Browse files
Show More
@@ -460,11 +460,8 b' class hgwebdir(object):'
460 if real:
460 if real:
461 # Re-parse the WSGI environment to take into account our
461 # Re-parse the WSGI environment to take into account our
462 # repository path component.
462 # repository path component.
463 uenv = req.rawenv
464 if pycompat.ispy3:
465 uenv = {
463 uenv = {
466 k.decode('latin1'): v
464 k.decode('latin1'): v for k, v in req.rawenv.items()
467 for k, v in pycompat.iteritems(uenv)
468 }
465 }
469 req = requestmod.parserequestfromenv(
466 req = requestmod.parserequestfromenv(
470 uenv,
467 uenv,
General Comments 0
You need to be logged in to leave comments. Login now