repos
/
darcsweb
/ commit
summary
|
shortlog
|
log
|
tree
|
commit
|
commitdiff
|
headdiff
unified
|
plain
|
darcs
Move the mimetypes import to the function.
author
Alberto Bertogli <albertogli@telpin.com.ar>
local date
Sat, 24 Dec 2005 15:06:57
date
Sat, 24 Dec 2005 15:06:57
hash
20051224150657-d5d94-68940d1ea51154185066930159edf33adf434a5a.gz
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.
1 file(s) changed:
darcsweb.cgi
+1 -1
diff
|
history
|
annotate