Skip to content

Commit 996f27b

Browse files
committed
Used meaningful name instead of shortcut x
1 parent ebfcce2 commit 996f27b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_terraform/terraform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ def list_workspace(self) -> List[str]:
467467
"""
468468
return list(
469469
filter(
470-
lambda x: len(x) > 0,
470+
lambda workspace: len(workspace) > 0,
471471
map(
472-
lambda x: x.strip('*').strip(),
472+
lambda workspace: workspace.strip('*').strip(),
473473
(self.cmd("workspace", "list")[1] or '').split()
474474
)
475475
)

0 commit comments

Comments
 (0)