Move the mimetypes import to the function.
Sat Dec 24 15:06:57 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Move the mimetypes import to the function.
While it's a nice practise to put all imports above, in darcsweb's case it
also increases startup latency.
Because the mimetypes module is only used inside print_binary_header(), move
the import inside the function.
{
hunk ./darcsweb.cgi 23
-import mimetypes
hunk ./darcsweb.cgi 399
+ import mimetypes
}