Python script mime type is text/x-java !
Bug #518769 reported by
Stéphane Brunner
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Debian) |
Fix Released
|
Unknown
|
|||
file (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: file
I have a Python script file named oa2osm.py.
I do on it :
$ file oa2osm.py
oa2osm.py: python script text executable
$ file --mime-type oa2osm.py
oa2osm.py: text/x-java
Than it seem that the mime type is missing for python script !
Changed in file (Ubuntu): | |
status: | New → Confirmed |
summary: |
- Python scrypt mime type is text/x-java ! + Python script mime type is text/x-java ! |
Changed in file (Debian): | |
status: | Unknown → New |
Changed in file (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
I think that the line :
!:mime text/x-python
is missing next to the line :
0 string/b #!\ /usr/bin/python python script text executable
in the file /usr/share/ file/magic