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