[SQL-CVS] r4097 - SQLObject/branches/0.12/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2010-02-05 14:08:08
|
Author: phd Date: 2010-02-05 06:30:35 -0700 (Fri, 05 Feb 2010) New Revision: 4097 Modified: SQLObject/branches/0.12/sqlobject/main.py Log: Merged revision 4096 from branch 0.11: a comment for the group of rich comparison methods. Modified: SQLObject/branches/0.12/sqlobject/main.py =================================================================== --- SQLObject/branches/0.12/sqlobject/main.py 2010-02-05 13:29:15 UTC (rev 4096) +++ SQLObject/branches/0.12/sqlobject/main.py 2010-02-05 13:30:35 UTC (rev 4097) @@ -1649,6 +1649,9 @@ def tablesUsedImmediate(self): return [self.__class__.q] + + # Comparison + def __eq__(self, other): if self.__class__ is other.__class__: if self.id == other.id: |