changeset 3615:3ec104f63144

wikiutil: MIMETYPES_MORE extended for cfg, conf
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 18 May 2008 12:38:18 +0200
parents 42363c0d9fc4
children 4092454a8069
files MoinMoin/wikiutil.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sun May 18 12:25:25 2008 +0200
+++ b/MoinMoin/wikiutil.py	Sun May 18 12:38:18 2008 +0200
@@ -932,6 +932,8 @@
  '.patch': 'text/x-diff',
  '.diff': 'text/x-diff',
  '.py': 'text/x-python',
+ '.cfg': 'text/plain',
+ '.conf': 'text/plain',
 }
 [mimetypes.add_type(mimetype, ext, True) for ext, mimetype in MIMETYPES_MORE.items()]