Additional changes needed for Python 2.6 on top of v0.8

Somehow I missed a change required for python 2.6