Skip to content

Commit

Permalink
update comparison to follow pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiqueplante committed Jun 6, 2013
1 parent 6237407 commit 63328eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def __exit__(_, *args):
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:
Expand Down

0 comments on commit 63328eb

Please sign in to comment.