From 04234b0080dc5940a21ee69f5aa5856d02d227db Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 30 Apr 2008 23:44:52 +0200 Subject: [PATCH] stupid bug ... --- Cython/Compiler/Main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index f07f528c..a4882786 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -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: -- 2.26.2