summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/apps.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/edit/apps.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps.py b/sca-cpp/trunk/modules/edit/apps.py
index 61cdfe07ef..fa3307bfca 100644
--- a/sca-cpp/trunk/modules/edit/apps.py
+++ b/sca-cpp/trunk/modules/edit/apps.py
@@ -27,12 +27,14 @@ def appid(id):
# Post a new app to the apps db
def post(collection, app, cache):
id = appid((str(uuid.uuid1()),))
- cache.put((id,), app)
+ comp = caddr(app)
+ cache.put((id,), comp)
return id
# Put an app into the apps db
def put(id, app, cache):
- cache.put(appid(id), app)
+ comp = caddr(app)
+ cache.put(appid(id), comp)
return True
# Get an app from the apps db