]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Cherry-pick cc8e893 into branch2.2
authorBen Darnell <ben@bendarnell.com>
Mon, 30 Jan 2012 19:10:17 +0000 (11:10 -0800)
committerBen Darnell <ben@bendarnell.com>
Tue, 24 Apr 2012 05:15:17 +0000 (22:15 -0700)
Original commit message:

Revert "Run the website in python2.7 mode"

Can't use python2.7 mode without migrating to the "high-replication
datastore", and even though we don't have any data "migration" is a
pain.

This reverts commit e960e9bc9d48906ed37b65ad6eb774ab33637170.

website/app.yaml

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