projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BaseTools: Replace StandardError with Expression
[mirror_edk2.git]
/
BaseTools
/
Source
/
Python
/
UPT
/
UPT.py
diff --git
a/BaseTools/Source/Python/UPT/UPT.py
b/BaseTools/Source/Python/UPT/UPT.py
index 2644dbed31e9f809f1a1449783d5689c03ea80fb..0e425828cdfe4cfefa63310bd4363aa3c9b65b85 100644
(file)
--- a/
BaseTools/Source/Python/UPT/UPT.py
+++ b/
BaseTools/Source/Python/UPT/UPT.py
@@
-309,7
+309,7
@@
def Main():
else:
\r
GlobalData.gDB.Commit()
\r
Mgr.commit()
\r
- except
StandardError
:
\r
+ except
Exception
:
\r
Logger.Quiet(ST.MSG_RECOVER_FAIL)
\r
GlobalData.gDB.CloseDb()
\r
\r