mirror of
https://github.com/DaanSelen/meshbook.git
synced 2026-02-20 08:22:11 +00:00
refac: remove seemingly unneeded function
This commit is contained in:
@@ -121,8 +121,7 @@ class utilities:
|
||||
os_categories: dict,
|
||||
target_os: str,
|
||||
ignore_categorisation: bool,
|
||||
target_tag: str,
|
||||
add_processed_devices=None) -> dict:
|
||||
target_tag: str) -> dict:
|
||||
"""
|
||||
Processes a single device or pseudo-target against group_list,
|
||||
filters matches by OS and tags, and adds processed devices.
|
||||
@@ -141,8 +140,6 @@ class utilities:
|
||||
processed = await utilities.filter_targets(
|
||||
matched_devices, os_categories, target_os, ignore_categorisation, target_tag
|
||||
)
|
||||
if add_processed_devices:
|
||||
await add_processed_devices(processed)
|
||||
return processed
|
||||
|
||||
# No matches found
|
||||
|
||||
Reference in New Issue
Block a user