Changes for 'make pep8'
This commit is contained in:
parent
81a926547c
commit
5b2035edd9
2 changed files with 2 additions and 1 deletions
|
@ -692,6 +692,7 @@ def safe_eval(str):
|
|||
|
||||
def is_set(var):
|
||||
return not var.startswith("$") and not '{{' in var
|
||||
|
||||
def is_unset(var):
|
||||
return var.startswith("$") or '{{' in var
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ import pwd
|
|||
|
||||
|
||||
class Flags:
|
||||
LEGACY_TEMPLATE_WARNING = False
|
||||
LEGACY_TEMPLATE_WARNING = False
|
||||
|
||||
# TODO: refactor this file
|
||||
|
||||
|
|
Loading…
Reference in a new issue