mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix Python syntax for dict literals
This commit is contained in:
parent
b35a88ac60
commit
340947fa29
6 changed files with 21 additions and 19 deletions
|
|
@ -686,8 +686,8 @@ class ScanInterface(HIGVBox):
|
|||
|
||||
self.filter_bar.set_information_text(
|
||||
_("%(num_shown)d/%(total)d hosts shown") % {
|
||||
num_shown = len(self.inventory.get_hosts_up()),
|
||||
total = len(NetworkInventory.get_hosts_up(self.inventory))
|
||||
'num_shown': len(self.inventory.get_hosts_up()),
|
||||
'total': len(NetworkInventory.get_hosts_up(self.inventory))
|
||||
})
|
||||
|
||||
mode = self.scan_result.scan_host_view.mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue