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
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