mercurial/hgweb/request.py
changeset 3673 eb0b4a2d70a9
parent 2859 345bac2bc4ec
child 3877 abaee83ce0a6
child 4246 cc81c512a531
--- a/mercurial/hgweb/request.py	Thu Nov 16 08:52:55 2006 +0100
+++ b/mercurial/hgweb/request.py	Fri Nov 17 08:06:54 2006 +0100
@@ -34,7 +34,7 @@
 class _wsgirequest(object):
     def __init__(self, destination, wsgienv, start_response):
         version = wsgienv['wsgi.version']
-        if (version < (1,0)) or (version >= (2, 0)):
+        if (version < (1, 0)) or (version >= (2, 0)):
             raise RuntimeError("Unknown and unsupported WSGI version %d.%d" \
                                % version)
         self.inp = wsgienv['wsgi.input']