mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -137,7 +137,7 @@ class TargetList(object):
|
||||
|
||||
try:
|
||||
self.target_list_file = Path.target_list
|
||||
except:
|
||||
except Exception:
|
||||
self.target_list_file = False
|
||||
|
||||
#import pdb; pdb.set_trace()
|
||||
|
||||
Reference in New Issue
Block a user