mirror of
https://github.com/nmap/nmap.git
synced 2026-10-24 21:02:11 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
parent
74708c3e3a
commit
d75e255113
17 changed files with 24 additions and 24 deletions
|
|
@ -246,7 +246,7 @@ class ScanWindow(UmitScanWindow):
|
|||
# gtk.STOCK_ABOUT is only available in PyGTK 2.6 and later.
|
||||
try:
|
||||
about_icon = gtk.STOCK_ABOUT
|
||||
except:
|
||||
except AttributeError:
|
||||
about_icon = None
|
||||
|
||||
self.main_actions = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue