Hi,

Just so that I don't reinvent any wheels, has anyone on this list
gotten TurboGears working with python2.3? I just did a fresh install
and encountered a few problems.
I'm including a patch that cause one of a few problems for the
python2.3 install.

--Shuying
--- visit.py.orig       2006-01-17 11:03:49.000000000 +1100
+++ visit.py    2006-01-17 11:02:50.000000000 +1100
@@ -233,13 +233,13 @@
     created= DateTimeCol( default=datetime.now )
     expiry= DateTimeCol()
 
-    @classmethod
+   
     def lookup_visit( cls, visit_key ):
         try:
             return cls.by_visit_key( visit_key )
         except SQLObjectNotFound:
             return None
-
+    lookup_visit = classmethod(lookup_visit)                           
 
 def current_id():
     return getattr( cherrypy.request, "tg_visit_id", None )

Reply via email to