entity.py
changeset 6425 8d7c2fd2ac66
parent 6333 e3994fcc21c3
parent 6419 6aa0bb1c42e2
child 6464 11f9fbf6a645
--- a/entity.py	Fri Oct 08 17:07:46 2010 +0200
+++ b/entity.py	Sat Oct 09 00:05:49 2010 +0200
@@ -1108,7 +1108,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)