[Bugs] #3226 UNSP: mime types: wrong get_primary_extension
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Nov 3 06:11:48 EDT 2011
#3226: mime types: wrong get_primary_extension
------------------------------------------+---------------------------------
Reporter: godiard | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar-toolkit | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
get_primary_extension in the mime.py file, returns the last extension
found in /usr/share/mime/globs and not ever is a good value.
By example to image/jpeg returns "jpe"
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3226>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list