Utilities/__init__.py

changeset 28
dde24fc7f7ba
parent 15
f6ccc31d6e72
child 37
bfe92e414977
--- a/Utilities/__init__.py	Thu Jan 07 12:30:38 2010 +0000
+++ b/Utilities/__init__.py	Thu Jan 07 12:31:11 2010 +0000
@@ -887,7 +887,8 @@
     if not codestring:
         try:
             f = open(file)
-            codestring, encoding = decode(f.read())
+##            codestring, encoding = decode(f.read())
+            codestring = f.read()
             f.close()
         except IOError:
             return (False, None, None, None, None)
@@ -1225,4 +1226,4 @@
             u = getEnvironmentEntry('USERNAME')
         except KeyError:
             u = getEnvironmentEntry('username', None)
-        return u
\ No newline at end of file
+        return u

eric ide

mercurial