CFY-1363 fix for python2.6