changeset 8224 | 1075f5c1b3fa |
parent 7928 | 0796c8862bee |
child 8225 | 46293a0c7e9f |
--- a/mercurial/hgweb/server.py Mon Apr 27 16:26:31 2009 +0200 +++ b/mercurial/hgweb/server.py Mon Apr 27 16:29:26 2009 +0200 @@ -283,6 +283,9 @@ else: handler = _hgwebhandler + # ugly hack due to python issue5853 (for threaded use) + import mimetypes; mimetypes.init() + try: if use_ipv6: return IPv6HTTPServer((address, port), handler)