cython-devel
changeset 2497:87e556fc4e33
Fix #418 (wrong error message)
| author | Dag Sverre Seljebotn <dagss@student.matnat.uio.no> |
|---|---|
| date | Fri Oct 16 13:14:22 2009 +0200 (2 years ago) |
| parents | 996bc56f4c2b |
| children | 3ac804c4897d |
| files | Cython/Compiler/Symtab.py tests/errors/notcimportedT418.pyx |
line diff
1.1 --- a/Cython/Compiler/Symtab.py Fri Oct 16 12:21:11 2009 +0200
1.2 +++ b/Cython/Compiler/Symtab.py Fri Oct 16 13:14:22 2009 +0200
1.3 @@ -499,7 +499,7 @@
1.4 if entry.as_module:
1.5 scope = entry.as_module
1.6 else:
1.7 - error(pos, "'%s' is not a cimported module" % scope.qualified_name)
1.8 + error(pos, "'%s' is not a cimported module" % '.'.join(path))
1.9 return None
1.10 return scope
1.11
