From: Stefan Behnel Date: Fri, 6 Jun 2008 05:46:43 +0000 (+0200) Subject: removed redundant left-over code that broke FQ module name extraction X-Git-Tag: 0.9.8rc1~11^2~10^2~6^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e9fdf2affe7bcc17511d1f66f8228de7400c3bc;p=cython.git removed redundant left-over code that broke FQ module name extraction --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 66c02330..247b6d01 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -267,11 +267,6 @@ class Context: result = CompilationResult() cwd = os.getcwd() - if full_module_name is None: - full_module_name, _ = os.path.splitext(source) - full_module_name = re.sub(r'[\\/]', '.', full_module_name) - full_module_name = re.sub(r'[^\w.]', '_', full_module_name) - source = os.path.join(cwd, source) result.main_source_file = source