1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Fix Python syntax for dict literals

This commit is contained in:
dmiller
2025-05-29 18:06:32 +00:00
parent b35a88ac60
commit 340947fa29
6 changed files with 21 additions and 19 deletions

View File

@@ -640,8 +640,8 @@ in epoch format!")
return scan_name
if self.profile_name and self.get_targets():
return _("%(profile_name)s on %(targets)s") % {
profile_name = self.profile_name,
targets = join_quoted(self.get_targets())
'profile_name': self.profile_name,
'targets': join_quoted(self.get_targets())
}
return self.get_nmap_command()