From: Tim Peters Date: Wed, 14 Jun 2006 22:38:13 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.5b1~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d538b603f733cd747ce5a776d86fd971012c986;p=python Whitespace normalization. --- diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 6f348a1097..fae551a565 100644 --- a/Lib/SimpleHTTPServer.py +++ b/Lib/SimpleHTTPServer.py @@ -191,7 +191,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): return self.extensions_map[ext] else: return self.extensions_map[''] - + if not mimetypes.inited: mimetypes.init() # try to read system mime.types extensions_map = mimetypes.types_map.copy()