Globals/compatibility_fixes.py

changeset 4566
a2e8f3c420ec
parent 4543
2e6a880670e9
child 4691
0fe41214fdd6
--- a/Globals/compatibility_fixes.py	Sun Nov 15 13:59:43 2015 +0100
+++ b/Globals/compatibility_fixes.py	Sun Nov 15 14:29:20 2015 +0100
@@ -284,15 +284,6 @@
 # Inject into the __builtin__ dictionary
 __builtin__.open = open
 
-if __name__ == '__main__':
-    fp = open('compatibility_fixes.py', encoding='latin1')
-    print(fp.read())
-    fp.close()
-
-    with open('compatibility_fixes.py', encoding='UTF-8') as fp:
-        rlines = fp.readlines()
-        print(rlines[-1])
-
 #
 # eflag: FileType = Python2
 # eflag: noqa = M702

eric ide

mercurial