mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Replaced instances of this pattern:
if 'key' in somedict:
var = somedict['key']
else:
var = ""
...with this much simpler pattern:
var = somedict.get('key', "")
Some variations, like returning None if the key is not found were also
replaced.
14 KiB
14 KiB