Clean up a bit of python 2.7-specific syntax