From be01983e2745f1f5b2e6f4830cc28ad2540ae582 Mon Sep 17 00:00:00 2001 From: noah morrison Date: Tue, 18 Nov 2014 12:32:31 -0500 Subject: [PATCH] pep8 --- chevron.py | 2 +- test_spec.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 2.47.3