Work with Python 2.6

Hey, I use RHEL6 at work which is stuck on Python 2.6.
If you were heavily using Python 2.7 features this might not be worth it, but this was a simple fix.