Commits

Robert Brewer committed 51e36b1

Forward port to trunk of 3.0.x [1715]. Buglet in PostgresqlSession constructor.

  • Participants
  • Parent commits 382ad0c

Comments (0)

Files changed (1)

File cherrypy/lib/sessions.py

     You must provide your own get_db function.
     """
     
-    def __init__(self):
+    def __init__(self, id=None, **kwargs):
+        Session.__init__(self, id, **kwargs)
         self.db = self.get_db()
         self.cursor = self.db.cursor()