From: Martin v. Löwis Date: Tue, 5 Jun 2001 05:17:00 +0000 (+0000) Subject: Add .pyo as an extension, fixes bug #416462. Also restore alphabetic order. X-Git-Tag: v2.2a3~1615 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2750bcc2d139f95b08693512af4b4ae50c505998;p=thirdparty%2FPython%2Fcpython.git Add .pyo as an extension, fixes bug #416462. Also restore alphabetic order. --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index c4d1860bbed6..8f5c076c0525 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -197,9 +197,10 @@ types_map = { '.pnm': 'image/x-portable-anymap', '.png': 'image/png', '.ppm': 'image/x-portable-pixmap', + '.ps': 'application/postscript', '.py': 'text/x-python', '.pyc': 'application/x-python-code', - '.ps': 'application/postscript', + '.pyo': 'application/x-python-code', '.qt': 'video/quicktime', '.ras': 'image/x-cmu-raster', '.rgb': 'image/x-rgb',