From 5842f30c2abd2ca2b296257910b48c0c1b3567a8 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 2 May 2011 05:58:59 +0000 Subject: Change app data model a bit. Store app properties in separate files and support app cloning. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1098491 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/store.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sca-cpp/trunk/modules/edit/store.py') diff --git a/sca-cpp/trunk/modules/edit/store.py b/sca-cpp/trunk/modules/edit/store.py index 052605d2d6..9598cdf7fa 100644 --- a/sca-cpp/trunk/modules/edit/store.py +++ b/sca-cpp/trunk/modules/edit/store.py @@ -16,8 +16,6 @@ # under the License. # stores collection implementation -import uuid -import sys from util import * # Convert a particular store tag to a store id @@ -31,15 +29,6 @@ def getstore(id, cache): return () return store -# Post a new app to a store -def post(collection, app, cache): - tag = car(collection) - id = (str(uuid.uuid1()),) - newapp = list("'entry", cadr(car(app)), list("'id", id), cadddr(car(app))) - store = cons(newapp, getstore(storeid(tag), cache)) - cache.put(storeid(tag), store) - return id - # Put an app into a store def put(key, app, cache): def putapp(app, store): -- cgit v1.2.3