Author: phd
Date: 2008-03-11 06:48:52 -0600 (Tue, 11 Mar 2008)
New Revision: 3329
Modified:
SQLObject/trunk/sqlobject/main.py
Log:
Do not emit a deprecation warning for Python 2.4.
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2008-03-11 12:46:09 UTC (rev 3328)
+++ SQLObject/trunk/sqlobject/main.py 2008-03-11 12:48:52 UTC (rev 3329)
@@ -659,8 +659,8 @@
if warnings_level is not None and warnings_level <= level:
warnings.warn(message, DeprecationWarning, stacklevel=stacklevel)
-if sys.version_info[:3] < (2, 5, 0):
- deprecated("Support for Python 2.4 has been declared obsolete and will be removed in the next release of SQLObject")
+#if sys.version_info[:3] < (2, 5, 0):
+# deprecated("Support for Python 2.4 has been declared obsolete and will be removed in the next release of SQLObject")
def setDeprecationLevel(warning=1, exception=None):
"""
|