summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-03-16 00:07:10 -0700
committerYuval Adam <yuv.adm@gmail.com>2012-03-16 00:07:10 -0700
commitd304bf7106b07ea091dc6eb06623983a47682ea6 (patch)
treef81eb9d7a3493ed1301342d3a6b08064b9275fe3
parent8f8c1304e6746a1fcac856846d6835ecc5e21e84 (diff)
switch to python 2.5
-rw-r--r--app.py5
-rw-r--r--app.yaml2
2 files changed, 5 insertions, 2 deletions
diff --git a/app.py b/app.py
index e31ff1e..d3b8566 100644
--- a/app.py
+++ b/app.py
@@ -1,4 +1,7 @@
-import json
+try:
+ import json
+except ImportError:
+ import simplejson as json
import os
import random
import requests
diff --git a/app.yaml b/app.yaml
index 6be16ac..9f320f9 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,6 +1,6 @@
application: pinkyswearapp
version: 1
-runtime: python27
+runtime: python
api_version: 1
threadsafe: false