Changes for 'make pep8'

This commit is contained in:
Michael DeHaan 2013-04-10 19:12:10 -04:00
parent 81a926547c
commit 5b2035edd9
2 changed files with 2 additions and 1 deletions

View file

@ -692,6 +692,7 @@ def safe_eval(str):
def is_set(var): def is_set(var):
return not var.startswith("$") and not '{{' in var return not var.startswith("$") and not '{{' in var
def is_unset(var): def is_unset(var):
return var.startswith("$") or '{{' in var return var.startswith("$") or '{{' in var

View file

@ -32,7 +32,7 @@ import pwd
class Flags: class Flags:
LEGACY_TEMPLATE_WARNING = False LEGACY_TEMPLATE_WARNING = False
# TODO: refactor this file # TODO: refactor this file