diff mercurial/hgweb/server.py @ 2507:7e01da2bc7f3

Fix two small bugs that would've prevented the web interface and IPv6 from working.
author Eric Hopper <hopper@omnifarious.org>
date Tue, 27 Jun 2006 00:09:35 -0700
parents d0db3462d568
children ab460a3f0e3a
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Tue Jun 27 00:09:33 2006 -0700
+++ b/mercurial/hgweb/server.py	Tue Jun 27 00:09:35 2006 -0700
@@ -196,7 +196,7 @@
         def __init__(self, *args, **kwargs):
             if self.address_family is None:
                 raise hg.RepoError(_('IPv6 not available on this system'))
-            super(IPv6HTTPServer, self).__init__(*args, **kargs)
+            super(IPv6HTTPServer, self).__init__(*args, **kwargs)
 
     if use_ipv6:
         return IPv6HTTPServer((address, port), _hgwebhandler)