Support python 2.6 again! Thanks to julianoliver for catching this.