[SQL-CVS] r2141 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2006-12-19 13:40:47
|
Author: phd
Date: 2006-12-19 06:40:41 -0700 (Tue, 19 Dec 2006)
New Revision: 2141
Modified:
SQLObject/trunk/sqlobject/main.py
Log:
Support for Python 2.2 has been declared obsolete.
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2006-12-19 13:18:16 UTC (rev 2140)
+++ SQLObject/trunk/sqlobject/main.py 2006-12-19 13:40:41 UTC (rev 2141)
@@ -665,6 +665,9 @@
if warnings_level is not None and warnings_level <= level:
warnings.warn(message, DeprecationWarning, stacklevel=stacklevel)
+if sys.version_info[:3] < (2, 3, 0):
+ deprecated("Support for Python 2.2 has been declared obsolete and will be removed in the next release of SQLObject")
+
def setDeprecationLevel(warning=1, exception=None):
"""
Set the deprecation level for SQLObject. Low levels are more
|