Updates to cherrypy init for engine
authorSteven Valdez <dvorak42@mit.edu>
Sat, 27 Apr 2013 02:25:58 +0000 (22:25 -0400)
committerAdam Glasgall <adam@crossproduct.net>
Tue, 21 May 2013 00:50:59 +0000 (20:50 -0400)
code/invirt.fcgi
debian/changelog

index 41d724a..7d6dc9c 100755 (executable)
@@ -64,7 +64,11 @@ if __name__ == "__main__":
         cherrypy.engine.start()
         cherrypy.engine.block()
     else:
-        cherrypy.engine.start(blocking=False)
+        try:
+            # Case that cherrypy < 3.1.0
+            cherrypy.engine.start(blocking=False)
+        except TypeError:
+            cherrypy.engine.start()
         from flup.server.fcgi import WSGIServer
         server = WSGIServer(cherrypy.tree)
         server.run()
index b37b766..69d5471 100644 (file)
@@ -4,6 +4,17 @@ invirt-web (0.1.31) unstable; urgency=low
 
  -- Peter A. Iannucci <iannucci@mit.edu>  Mon, 20 May 2013 09:00:00 -0400
 
+invirt-web (0.1.31~dvorak424) precise; urgency=low
+
+  * Fixing cherrypy initialization for different versions.
+
+ -- Steven Valdez <dvorak42@mit.edu>  Fri, 26 Apr 2013 22:25:24 -0400
+
+invirt-web (0.1.31~dvorak423) precise; urgency=low
+
+  * Removing leftover svn symlink from apache2.
+
+ -- Steven Valdez <dvorak42@mit.edu>  Sat, 20 Apr 2013 20:47:51 -0400
 
 invirt-web (0.1.31~dvorak422) precise; urgency=low