Revert "Fix for python3?"

This reverts commit 40de5af7597ea1317accaa449c5e00b613a90257.