mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Changes for 'make pep8'
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user