1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834

This commit is contained in:
dmiller
2019-12-30 06:46:36 +00:00
parent 74708c3e3a
commit d75e255113
17 changed files with 24 additions and 24 deletions

View File

@@ -155,7 +155,7 @@ umitdb = ""
try:
umitdb = Path.db
except:
except Exception:
import os.path
from BasePaths import base_paths
@@ -268,7 +268,7 @@ class UmitDB(object):
try:
self.cursor.execute(drop_string)
except:
except Exception:
connection.rollback()
else:
connection.commit()