diff -r f9e3b6472b44 -r 07030b761baf Utilities/compatibility_fixes.py --- a/Utilities/compatibility_fixes.py Sun Mar 15 18:55:40 2015 +0100 +++ b/Utilities/compatibility_fixes.py Thu Mar 26 22:20:47 2015 +0100 @@ -10,8 +10,6 @@ should throw a NotImplementedError exception. """ -from __future__ import unicode_literals - import __builtin__ import codecs @@ -58,7 +56,7 @@ @exception NotImplementedError for not implemented method parameters """ self.__encoding = encoding - self.__newline = newline + self.__newline = str(newline) self.__closefd = closefd if newline is not None: if 'r' in mode: