Restore Python 2.6 compatability
Another python 2.6 compatability fix