author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 08 Oct 2010 13:12:14 +0200 | |
branch | stable |
changeset 6419 | 6aa0bb1c42e2 |
parent 6414 | 6003dc203567 |
child 6420 | 4c14be06e557 |
--- a/entity.py Fri Oct 08 09:43:24 2010 +0200 +++ b/entity.py Fri Oct 08 13:12:14 2010 +0200 @@ -1156,7 +1156,7 @@ def __get__(self, eobj, eclass): if eobj is None: - raise AttributeError('%s cannot be only be accessed from instances' + raise AttributeError('%s can only be accessed from instances' % self._rtype) return eobj.related(self._rtype, self._role, entities=True)