diff options
author | Simo Sorce <simo@redhat.com> | 2014-05-20 15:25:29 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-05-20 15:31:08 -0400 |
commit | f47a95ba1df58ccf9784c47beeaa0702c469b3e1 (patch) | |
tree | 39d30949d1ce208b069390a3d123f917212eb27a /ipsilon/util/page.py | |
parent | c911c46edffa30445f0d11636e575a7574d965c4 (diff) | |
download | ipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.tar.gz ipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.tar.xz ipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.zip |
Fix E713 with stricter pep8 error checker
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/util/page.py')
-rwxr-xr-x | ipsilon/util/page.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', "") |