Public bug reported:

Binary package hint: file

"file" does recognize python files correctly if they got a
"#!/usr/bin/python" line, like this:

$ file  ../some_python_file
../toertchen/toertchen: python script text executable

But if you add -i to display "file"'s output as mimetype you get pascal:

$ file -i  ../some_python_file
../toertchen/toertchen: text/x-pascal; charset=utf-8

Using 5.03-5ubuntu1 of file.

** Affects: file (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mimetype wrong on -i for python files
https://bugs.launchpad.net/bugs/653756
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to