Permalink
Browse files

Deprecating Python 2.4 support.

  • Loading branch information...
1 parent eca5fc6 commit 4625ccf60cbdcd51f7f84ac3695b7c64ffbb79c5 @pedersen pedersen committed Dec 11, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 tg/wsgiapp.py
View
@@ -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):

0 comments on commit 4625ccf

Please sign in to comment.