Permalink
Browse files

Fix implicit relative import of _namemapper

  • Loading branch information...
1 parent a0c6979 commit 2a7231b583a82afbeac4ac969808d3d23e94e3f1 @rtyler rtyler committed Dec 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cheetah/NameMapper.py
View
@@ -307,7 +307,7 @@ def hasName(obj, name):
except NotFound:
return False
try:
- from _namemapper import NotFound, valueForKey, valueForName, \
+ from Cheetah._namemapper import NotFound, valueForKey, valueForName, \
valueFromSearchList, valueFromFrameOrSearchList, valueFromFrame
# it is possible with Jython or Windows, for example, that _namemapper.c hasn't been compiled
C_VERSION = True

0 comments on commit 2a7231b

Please sign in to comment.