Minor change to support python 2.6.6