[Pypersyst-cvs] pypersyst/pypersyst/entity entity.py,1.7,1.8
Brought to you by:
pobrien
From: <po...@us...> - 2003-08-28 18:01:24
|
Update of /cvsroot/pypersyst/pypersyst/pypersyst/entity In directory sc8-pr-cvs1:/tmp/cvs-serv17758 Modified Files: entity.py Log Message: Changed error message. Index: entity.py =================================================================== RCS file: /cvsroot/pypersyst/pypersyst/pypersyst/entity/entity.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** entity.py 28 Aug 2003 17:59:33 -0000 1.7 --- entity.py 28 Aug 2003 18:01:18 -0000 1.8 *************** *** 92,96 **** def __setattr__(self, name, value): """Disallow any attempts to set attributes directly.""" ! raise AttributeError, 'Use the Extent.update() method' def _attrs(self): --- 92,96 ---- def __setattr__(self, name, value): """Disallow any attempts to set attributes directly.""" ! raise AttributeError, 'Modifications can only be made by transactions' def _attrs(self): |