python 2.6 fix (https://travis-ci.org/nixon/gstat/jobs/4176504)