fix sha in py3
2to3