From 2750bcc2d139f95b08693512af4b4ae50c505998 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= <martin@v.loewis.de>
Date: Tue, 5 Jun 2001 05:17:00 +0000
Subject: Add .pyo as an extension, fixes bug #416462. Also restore alphabetic
 order.

---
 Lib/mimetypes.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index c4d1860..8f5c076 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',
-- 
cgit v0.12

