mirror of
https://github.com/nmap/nmap.git
synced 2026-08-29 04:53:24 +00:00
Avoid using for/else when loop doesn't break. #1834
This commit is contained in:
parent
d3267a93c4
commit
33aca7c8f5
2 changed files with 11 additions and 11 deletions
|
|
@ -501,8 +501,8 @@ class ScanWindow(UmitScanWindow):
|
|||
xml.sax.saxutils.quoteattr(scan))
|
||||
|
||||
self.main_actions.append(new_rscan)
|
||||
else:
|
||||
new_rscan_xml += "<separator />\n"
|
||||
|
||||
new_rscan_xml += "<separator />\n"
|
||||
|
||||
self.default_ui %= new_rscan_xml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue