[SQL-CVS] r862 - trunk/SQLObject/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2005-07-31 07:27:40
|
Author: ianb Date: 2005-07-31 07:27:37 +0000 (Sun, 31 Jul 2005) New Revision: 862 Modified: trunk/SQLObject/sqlobject/main.py Log: Added docstring Modified: trunk/SQLObject/sqlobject/main.py =================================================================== --- trunk/SQLObject/sqlobject/main.py 2005-07-31 07:24:51 UTC (rev 861) +++ trunk/SQLObject/sqlobject/main.py 2005-07-31 07:27:37 UTC (rev 862) @@ -821,6 +821,11 @@ # @classmethod def _SO_cleanDeprecatedAttrs(cls, new_attrs): + """ + This removes attributes on SQLObject subclasses that have + been deprecated; they are moved to the sqlmeta class, and + a deprecation warning is given. + """ for attr in ['_table', '_lazyUpdate', '_style', '_idName', '_defaultOrder', '_cacheValues', '_registry', '_idType', '_fromDatabase']: |