Remove debugging code that breaks Python 3