Skip to content
Snippets Groups Projects

Python script better port list management

Merged Gioacchino Vino requested to merge debug_paas_ci into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -419,6 +419,8 @@ def import_dep_info(file_path, endpoints_to_scan):
if host not in endpoints:
endpoints[host] = {"22"}
endpoints[host].add(port)
for host,ports in endpoints.items():
endpoints[host] = sorted(list(ports))
return endpoints
################ MAIN #######################################
Loading