entity.py
branchstable
changeset 6419 6aa0bb1c42e2
parent 6317 0d4dd5f6f05c
child 6425 8d7c2fd2ac66
--- 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)