1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Remove unused variables. #1834

This commit is contained in:
dmiller
2019-12-29 19:28:56 +00:00
parent fa7cdb2c9f
commit 2a0c1eca5c
2 changed files with 1 additions and 6 deletions

View File

@@ -714,7 +714,6 @@ class ScanInterface(HIGVBox):
def update_target_profile(self, parsed):
"""Update the "Target" and "Profile" entries based on the contents of a
parsed scan."""
command = parsed.get_nmap_command()
targets = parsed.get_targets()
profile_name = parsed.get_profile_name()
@@ -740,7 +739,6 @@ class ScanInterface(HIGVBox):
for service in host.services:
name = service["service_name"]
state = service["port_state"]
if name not in self.services.keys():
self.services[name] = []