mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -238,7 +238,7 @@ class Paths(object):
|
||||
|
||||
try:
|
||||
return self.__dict__[name]
|
||||
except:
|
||||
except Exception:
|
||||
raise NameError(name)
|
||||
|
||||
def __setattr__(self, name, value):
|
||||
|
||||
Reference in New Issue
Block a user