X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Futil%2Fpage.py;h=19680098e6aeda03d90bdc7fc5a3a3fa2bafcd71;hp=3a0181121c9d77cd8e1de9ba5a669fd2080a1a6f;hb=f47a95ba1df58ccf9784c47beeaa0702c469b3e1;hpb=c911c46edffa30445f0d11636e575a7574d965c4;ds=sidebyside diff --git a/ipsilon/util/page.py b/ipsilon/util/page.py index 3a01811..1968009 100755 --- a/ipsilon/util/page.py +++ b/ipsilon/util/page.py @@ -38,7 +38,7 @@ def protect(): class Page(object): def __init__(self, site, form=False): - if not 'template_env' in site: + if 'template_env' not in site: raise ValueError('Missing template environment') self._site = site self.basepath = cherrypy.config.get('base.mount', "")