Hook up get_from_file_name

This commit is contained in:
Marco Pesenti Gritti
2007-05-24 12:08:05 +02:00
parent c89de594d3
commit 2145de1039
3 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -16,6 +16,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
from sugar import objects
from sugar.objects import mime
print objects.mime.get_from_filename('test.pdf')
print mime.get_from_file_name('test.pdf')