Provide python 2 compatibility
Reported by Martin Pitt on 2012-10-02
This bug affects 1 person
For using on LTSes, RHEL, and the like it would be nice if this works with Python 2 as well. Run the tests with both py 2 and py 3 to ensure everything keeps working.