ahupp/python-magic — pull request #43 by manizzle (2013-10-01 21:43:20+00:00)
Title: change magic_t pointer type for ctypes and remove an errorcheck

The value being returned by the magic_open call needs to be a LP_magic_set type, not just an integer. Also, removing the errcheck on magic_load allows magic_load to run without error. I used the code from file-5.15/python/magic.py to get it to work