Skip to content

Commit

Permalink
Add .pyo as an extension, fixes bug #416462. Also restore alphabetic …
Browse files Browse the repository at this point in the history
…order.
  • Loading branch information
loewis committed Jun 5, 2001
1 parent b870c75 commit 2750bcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,10 @@ def read_mime_types(file):
'.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',
Expand Down

0 comments on commit 2750bcc

Please sign in to comment.