Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Jun 28, 2024
1 parent 38b999a commit ba268c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/discover/list_discovered_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def parse_command_line() -> object:
help='Table format to use for display.\n'
'(plain, simple, github, grid, fancy_grid, pipe, orgtbl, jira, presto, \n'
'pretty, psql, rst, mediawiki, moinmoin, youtrack, html, unsafehtml, \n'
'latex, latex_raw, latex_booktabs, latex_longtable, textile, tsv)',
'latext, latex_raw, latex_booktabs, latex_longtable, textile, tsv)',
required=False
)
return parser.parse_args()
Expand Down Expand Up @@ -161,7 +161,6 @@ def get_sort_key(sorting) -> list:
# Append this result to our display list
identified.append(found)
# All findings have been tabulated, show the results
print(f"identified hosts: {identified}")
print(tabulate(tabular_data=sorted(identified, key=get_sort_key, reverse=SORT),
headers=HEADERS,
tablefmt=TABLE_FORMAT
Expand Down

0 comments on commit ba268c4

Please sign in to comment.