Skip to content

Commit f0691f5

Browse files
committed
attemp to fix linter
1 parent 6afefc7 commit f0691f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/lookup/kustomize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def run(
120120
binary_path=None,
121121
opt_dirs=None,
122122
enable_helm=False,
123-
enviroment={},
123+
enviroment=None,
124124
**kwargs
125125
):
126126
executable_path = binary_path
@@ -159,7 +159,7 @@ def run(
159159

160160
if enviroment:
161161
if isinstance(enviroment, str):
162-
if not all([env.count("=") == 1 for env in enviroment.split(" ")]):
162+
if not all(env.count("=") == 1 for env in enviroment.split(" ")):
163163
raise AnsibleLookupError(
164164
"Enviroment should be dict or string in the format key=value"
165165
)

0 commit comments

Comments
 (0)