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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user