Fix to appease our python 3 overlords

- AKA: Copy/Pasted code without checking sucks