stupid bug ...
authorStefan Behnel <scoder@users.berlios.de>
Wed, 30 Apr 2008 21:44:52 +0000 (23:44 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 30 Apr 2008 21:44:52 +0000 (23:44 +0200)
Cython/Compiler/Main.py

index f07f528cb240395b11ff7088f27035474801b1b4..a488278656536e28567c6cde2c450225118fbfbb 100644 (file)
@@ -151,9 +151,9 @@ class Context:
                         filename_encoding = sys.getdefaultencoding()
                     name = source_filename.decode(filename_encoding)
 
-                    s = PyrexScanner(f, name, source_encoding = f.encoding,
-                                     type_names = type_names, context = self)
-                    tree = Parsing.p_module(s, pxd, full_module_name)
+                s = PyrexScanner(f, name, source_encoding = f.encoding,
+                                 type_names = type_names, context = self)
+                tree = Parsing.p_module(s, pxd, full_module_name)
             finally:
                 f.close()
         except UnicodeDecodeError, msg: