Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Deprecating Python 2.4 support.

  • Loading branch information...
commit 4625ccf60cbdcd51f7f84ac3695b7c64ffbb79c5 1 parent eca5fc6
@pedersen pedersen authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tg/wsgiapp.py
View
4 tg/wsgiapp.py
@@ -5,6 +5,10 @@
import logging
log = logging.getLogger(__name__)
+import warnings
+
+if sys.version_info[:2] == (2,4):
+ warnings.warn('Python 2.4 support is deprecated, and will be removed in TurboGears 2.2', DeprecationWarning)
class TGApp(PylonsApp):
def find_controller(self, controller):
Please sign in to comment.
Something went wrong with that request. Please try again.