projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
411ccbd
)
removed redundant left-over code that broke FQ module name extraction
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 6 Jun 2008 05:46:43 +0000
(07:46 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 6 Jun 2008 05:46:43 +0000
(07:46 +0200)
Cython/Compiler/Main.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Main.py
b/Cython/Compiler/Main.py
index 66c02330c6efc96d14b4de03ed6cc57c5882e88b..247b6d01934b9feb75ab2b92510388a05e53d36e 100644
(file)
--- 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