diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-06-14 22:38:13 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-06-14 22:38:13 (GMT) |
commit | 5d538b603f733cd747ce5a776d86fd971012c986 (patch) | |
tree | ad21b1de05a83fc38aa08adef959f1d2a70e549e /Lib/SimpleHTTPServer.py | |
parent | b2e881640377945716a5f4b147f8438f9e4738de (diff) | |
download | cpython-5d538b603f733cd747ce5a776d86fd971012c986.zip cpython-5d538b603f733cd747ce5a776d86fd971012c986.tar.gz cpython-5d538b603f733cd747ce5a776d86fd971012c986.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/SimpleHTTPServer.py')
-rw-r--r-- | Lib/SimpleHTTPServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 6f348a1..fae551a 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() |