Skip to content

Commit 71c48ae

Browse files
fixing typo
Signed-off-by: Emanuele Lanuti <emanuele.lanuti@stardustsystems.net>
1 parent 76fbb42 commit 71c48ae

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

suzieq/cli/sqcmds/InterfaceCmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def __init__(
7979
@argument(
8080
"what",
8181
description="What do you want to assert",
82-
# choices=["mtu-value"],
8382
choices=completitions.column_name_completer
8483
)
8584
@argument("value", description="Value to match against")

suzieq/cli/sqcmds/sq_completions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def return_completions(cmd, column, val_so_far, quote_result=False,
8383
**kwargs) -> List[str]:
8484
'''Given a cmd and column, return valid completion list'''
8585

86-
result = []
8786
try:
8887
valid_set = completion_get_data(cmd, column, **kwargs)
8988
except Exception:
@@ -142,8 +141,6 @@ def hostname_completer(cmd: str, _subcmd: str, last_token: str,
142141

143142
kwargs = get_kwargs_so_far(raw_cmd, ['namespace'])
144143

145-
cmd = virt_tbl_cmd_mapping.get(cmd, cmd)
146-
147144
return return_completions('device', 'hostname', hostname_so_far, **kwargs)
148145

149146

0 commit comments

Comments
 (0)