From: noah morrison Date: Tue, 18 Nov 2014 17:32:31 +0000 (-0500) Subject: pep8 X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=be01983e2745f1f5b2e6f4830cc28ad2540ae582;p=chevron.git pep8 --- diff --git a/chevron.py b/chevron.py index 3d97b99..535edad 100755 --- a/chevron.py +++ b/chevron.py @@ -265,7 +265,7 @@ def render(template='', data={}, partials_path='.', partials_ext='mustache', output = unicode('', 'utf-8') - if scopes == None: + if scopes is None: scopes = [data] # Run through the tokens diff --git a/test_spec.py b/test_spec.py index 78f10d0..69f9517 100755 --- a/test_spec.py +++ b/test_spec.py @@ -108,7 +108,7 @@ class ExpandedCoverage(unittest.TestCase): def test_main(self): result = chevron.main('tests/data.json', 'tests/test.mustache', - partials_path='tests') + partials_path='tests') with open('tests/test.rendered', 'r') as f: expected = f.read()