minor compatibility correction
Merge branch 'kli' of https://github.com/like2000/PyHEADTAIL into kli