Clear SQL cache on each request.
authorEric Price <ecprice@mit.edu>
Sat, 21 Jun 2008 20:35:31 +0000 (16:35 -0400)
committerEric Price <ecprice@mit.edu>
Sat, 21 Jun 2008 20:35:31 +0000 (16:35 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=613

code/main.py

index 80761ae..efc408c 100755 (executable)
@@ -641,6 +641,7 @@ class App:
         self.state.environ = environ
 
     def __iter__(self):
+        sipb_xen_database.clear_cache()
         sys.stderr = StringIO()
         fields = cgi.FieldStorage(fp=self.environ['wsgi.input'], environ=self.environ)
         operation = self.environ.get('PATH_INFO', '')