From f47a95ba1df58ccf9784c47beeaa0702c469b3e1 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 20 May 2014 15:25:29 -0400 Subject: Fix E713 with stricter pep8 error checker Signed-off-by: Simo Sorce --- ipsilon/util/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipsilon/util/page.py') 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', "") -- cgit