From 7e9fdf2affe7bcc17511d1f66f8228de7400c3bc Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 6 Jun 2008 07:46:43 +0200 Subject: [PATCH] removed redundant left-over code that broke FQ module name extraction --- Cython/Compiler/Main.py | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.26.2