Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/schemes/file.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2005-07-23 12:53:01 +0200
committerArthur de Jong <arthur@arthurdejong.org>2005-07-23 12:53:01 +0200
commit75a1a32537150af4681d411e6b154c823731dee0 (patch)
tree5a882840ba722424608393736b1ba44ab0a12878 /schemes/file.py
parentaebf423eede0b9e9ee9a37b4ea01f2f2e6e43777 (diff)
most systems already know about .shtml files
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@74 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'schemes/file.py')
-rw-r--r--schemes/file.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/schemes/file.py b/schemes/file.py
index 5351317..980e3d0 100644
--- a/schemes/file.py
+++ b/schemes/file.py
@@ -1,5 +1,5 @@
-# file.py handle urls with a file scheme
+# file.py - handle urls with a file scheme
#
# Copyright (C) 1998, 1999 Albert Hopkins (marduk) <marduk@python.net>
# Copyright (C) 2002 Mike W. Meyer <mwm@mired.org>
@@ -29,9 +29,6 @@ import time
import mimetypes
import re
-# FIXME: store this extension somewhere else
-mimetypes.add_type('text/html','.shtml')
-
def get_info(link):
"""Retreive some basic information about the file.
Store the results in the link object."""