1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 23:19:03 +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

@@ -140,7 +140,7 @@ class TopologyPage(HIGVBox):
self.slow_label.set_text(_("""\
Topology is disabled because too many hosts can cause it
to run slowly. The limit is %(limit)d hosts and there are %(num)d.\
""" % {limit = SLOW_LIMIT, num = len(hosts_up)}))
""" % {'limit': SLOW_LIMIT, 'num': len(hosts_up)}))
if len(hosts_up) <= SLOW_LIMIT:
self.radialnet.show()