Commit 7e9fdf2a authored by Stefan Behnel's avatar Stefan Behnel

removed redundant left-over code that broke FQ module name extraction

parent 411ccbdf
...@@ -267,11 +267,6 @@ class Context: ...@@ -267,11 +267,6 @@ class Context:
result = CompilationResult() result = CompilationResult()
cwd = os.getcwd() 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) source = os.path.join(cwd, source)
result.main_source_file = source result.main_source_file = source
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment