From 075c3c53f72fde8e18af3f505249bef8812b7da3 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 25 Feb 2015 10:13:26 -0500 Subject: [PATCH] Change root class of Page from Log to Endpoint Signed-off-by: Rob Crittenden Reviewed-by: Simo Sorce --- ipsilon/util/page.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ipsilon/util/page.py b/ipsilon/util/page.py index d2ccb51..f4e53d6 100644 --- a/ipsilon/util/page.py +++ b/ipsilon/util/page.py @@ -16,7 +16,7 @@ # along with this program. If not, see . import cherrypy -from ipsilon.util.log import Log +from ipsilon.util.endpoint import Endpoint from ipsilon.util.user import UserSession from ipsilon.util.trans import Transaction from urllib import unquote @@ -40,8 +40,9 @@ def admin_protect(fn): return check -class Page(Log): +class Page(Endpoint): def __init__(self, site, form=False): + super(Page, self).__init__(site) if 'template_env' not in site: raise ValueError('Missing template environment') self._site = site -- 2.20.1