diff contrib/win32/hgwebdir_wsgi.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
line wrap: on
line diff
--- a/contrib/win32/hgwebdir_wsgi.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/contrib/win32/hgwebdir_wsgi.py	Tue Jul 23 10:02:46 2024 +0200
@@ -101,7 +101,6 @@
 import isapi_wsgi
 from mercurial.hgweb.hgwebdir_mod import hgwebdir
 
-
 # Example tweak: Replace isapi_wsgi's handler to provide better error message
 # Other stuff could also be done here, like logging errors etc.
 class WsgiHandler(isapi_wsgi.IsapiWsgiHandler):
@@ -115,6 +114,7 @@
 
 
 def handler(environ, start_response):
+
     # Translate IIS's weird URLs
     url = environ['SCRIPT_NAME'] + environ['PATH_INFO']
     paths = url[1:].split('/')[path_strip:]