[Trac-tickets] [The Trac Project] #1803: Miss spell in get_charset()
The Trac Project
noreply at edgewall.com
Tue Jul 19 08:29:06 CDT 2005
#1803: Miss spell in get_charset()
---------------------+------------------------------------------------------
Id: 1803 | Status: new
Component: general | Modified: Tue Jul 19 08:29:06 2005
Severity: normal | Milestone:
Priority: normal | Version: devel
Owner: jonas | Reporter: Shun-ichi Goto <gotoh at taiyo.co.jp>
---------------------+------------------------------------------------------
I've got exception by miss spell in {{{get_charset()}}}.
{{{
--- api.py (revision 1998)
+++ api.py (working copy)
@@ -106,7 +106,7 @@
if mimetype:
ctpos = mimetype.find('charset=')
if ctpos >= 0:
- return mime_type[ctpos + 8:]
+ return mimetype[ctpos + 8:]
def get_mimetype(filename):
"""Guess the most probable MIME type of a file with the given
name."""
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1803>
The Trac Project <>
More information about the Trac-Tickets
mailing list