Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Fix regression in the pure Python NameMapper
Browse files Browse the repository at this point in the history
Introduced the regression in `a0c6979` when cleaning up
imports.
  • Loading branch information
R. Tyler Ballance committed Feb 1, 2010
1 parent 6a42520 commit 62f5a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheetah/NameMapper.py
Expand Up @@ -179,7 +179,7 @@ def _wrapNotFoundException(exc, fullName, namespace):
raise

def _isInstanceOrClass(obj):
if type(obj) in (InstanceType, ClassType):
if isinstance(obj, type):
# oldstyle
return True

Expand Down

0 comments on commit 62f5a2f

Please sign in to comment.