From: Dominique Plante Date: Thu, 6 Jun 2013 06:37:13 +0000 (-0700) Subject: update comparison to follow pep8 X-Git-Tag: v3.1.0~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F819%2Fhead;p=thirdparty%2Ftornado.git update comparison to follow pep8 --- diff --git a/tornado/template.py b/tornado/template.py index 865f80ace..341e07c62 100644 --- a/tornado/template.py +++ b/tornado/template.py @@ -618,7 +618,7 @@ class _CodeWriter(object): return IncludeTemplate() def write_line(self, line, line_number, indent=None): - if indent == None: + if indent is None: indent = self._indent line_comment = ' # %s:%d' % (self.current_template.name, line_number) if self.include_stack: