wrong error raised on Wrapped.__getattr__ failure

This commit is contained in:
KeyserSosa
2008-07-24 12:18:15 -07:00
parent 29af2ffe14
commit b147076e5a

View File

@@ -47,7 +47,7 @@ class Wrapped(object):
pass
if not found:
raise NoTemplateFound, attr
raise AttributeError, attr
setattr(self, attr, res)
return res