typo
authorStefan Behnel <scoder@users.berlios.de>
Fri, 25 Apr 2008 18:17:20 +0000 (20:17 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 25 Apr 2008 18:17:20 +0000 (20:17 +0200)
Cython/Compiler/Main.py

index 182e98b202555acdf3aa26a9b9687bb1a4f70145..f88925b272357a8caf7917d6b164a2cb314e1947 100644 (file)
@@ -146,7 +146,7 @@ class Context:
         else:
             filename_encoding = sys.getfilesystemencoding()
             if filename_encoding is None:
-                filename_encoding = getdefaultencoding()
+                filename_encoding = sys.getdefaultencoding()
             name = source_filename.decode(filename_encoding)
 
         s = PyrexScanner(f, name, source_encoding = f.encoding,