Tweak proxy resolution error message.

--HG--
extra : convert_revision : 3b186209515975be0d8bc9acc214425adcaa16f2
This commit is contained in:
Steve Reinhardt 2006-08-31 17:58:46 -07:00
parent f9ae0dcf10
commit edeb8f39a7

View file

@ -666,8 +666,8 @@ class BaseProxy(object):
if not done:
raise AttributeError, \
"Can't resolve proxy '%s' from '%s'" % \
(self.path(), base.path())
"Can't resolve proxy '%s' of type '%s' from '%s'" % \
(self.path(), self._pdesc.ptype_str, base.path())
if isinstance(result, BaseProxy):
if result == self: