summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/composites.py
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/composites.py')
-rw-r--r--sca-cpp/trunk/hosting/server/composites.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sca-cpp/trunk/hosting/server/composites.py b/sca-cpp/trunk/hosting/server/composites.py
index 9e4b40b669..d0276ab5ee 100644
--- a/sca-cpp/trunk/hosting/server/composites.py
+++ b/sca-cpp/trunk/hosting/server/composites.py
@@ -31,7 +31,7 @@ def put(id, comp, user, cache, apps):
# Get the requested app
app = apps.get(id)
- if isNil(app):
+ if isNull(app):
debug('composites.py::put', 'app not found', id)
return False
@@ -48,12 +48,12 @@ def put(id, comp, user, cache, apps):
# Get a composite from the composite db
def get(id, user, cache, apps):
debug('composites.py::get::id', id)
- if isNil(id):
+ if isNull(id):
return (("'feed", ("'title", "Composites"), ("'id", "composites")),)
# Get the requested app
app = apps.get(id)
- if isNil(app):
+ if isNull(app):
debug('composites.py::get', 'app not found', id)
# Return a default new composite
@@ -61,7 +61,7 @@ def get(id, user, cache, apps):
# Get the requested composite
comp = cache.get(compid(id))
- if isNil(comp):
+ if isNull(comp):
debug('composites.py::get', 'composite not found', id)
# Return a default new composite
@@ -78,7 +78,7 @@ def delete(id, user, cache, apps):
# Get the requested app
app = apps.get(id)
- if isNil(app):
+ if isNull(app):
debug('composites.py::delete', 'app not found', id)
return False