]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Run the website in python2.7 mode
authorBen Darnell <ben@bendarnell.com>
Mon, 30 Jan 2012 05:56:53 +0000 (21:56 -0800)
committerBen Darnell <ben@bendarnell.com>
Mon, 30 Jan 2012 05:57:08 +0000 (21:57 -0800)
website/app.yaml

index 9484a91134b8e96537bc18d6c940ad54d249d534..92e2fbf8bbdd183e4d558ddcd969899ca4f903e1 100644 (file)
@@ -1,14 +1,15 @@
 application: python-tornado
 version: 2
-runtime: python
+runtime: python27
+threadsafe: yes
 api_version: 1
 
 handlers:
 - url: /static/tornado-0.1.tar.gz
-  script: website.py
+  script: website.application
 
 - url: /static/tornado-0.2.tar.gz
-  script: website.py
+  script: website.application
 
 - url: /static/
   static_dir: static
@@ -22,10 +23,10 @@ handlers:
   upload: static/favicon.ico
 
 - url: /documentation/?
-  script: website.py
+  script: website.application
 
 - url: /documentation
   static_dir: sphinx/build/html
 
 - url: /.*
-  script: website.py
+  script: website.application