fix python2.6 compatibility undoing a suggestion from pycharm