BaseTools: Replace StandardError with Expression
authorGary Lin <glin@suse.com>
Mon, 25 Jun 2018 10:31:30 +0000 (18:31 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 27 Jun 2018 08:33:24 +0000 (16:33 +0800)
commit92beb1e4c73a40a708c7c0cade5c7cee314b3887
tree0e157dcfb762fabe0486ba2a23d075d4b1bbb1b0
parent27c4ceb41cf6b79d440deae215c68e117d69d641
BaseTools: Replace StandardError with Expression

StandardError has been removed from python 3.
Replace it with Exception.

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/UPT/UPT.py