Fix Python 3 compatibility bug.
Merge pull request #17 from alliedmodders/py3-cmp

Fix Python 3 compatibility bug.