# HG changeset patch # User Sylvain Thénault # Date 1286536334 -7200 # Node ID 6aa0bb1c42e2005d1ffd10d4f2b0cc4e2f9ef3cf # Parent 6003dc2035672730cf6e7edc42e0abbca89cd1b5 typo diff -r 6003dc203567 -r 6aa0bb1c42e2 entity.py --- 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)