removed redundant left-over code that broke FQ module name extraction
authorStefan Behnel <scoder@users.berlios.de>
Fri, 6 Jun 2008 05:46:43 +0000 (07:46 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 6 Jun 2008 05:46:43 +0000 (07:46 +0200)
Cython/Compiler/Main.py

index 66c02330c6efc96d14b4de03ed6cc57c5882e88b..247b6d01934b9feb75ab2b92510388a05e53d36e 100644 (file)
@@ -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