diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-02-10 10:08:37 -0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-03-15 10:04:55 +0800 |
commit | 2da7e7994917ea74d919090da781cd7697e7eb62 (patch) | |
tree | 517206da2a83dfb1cb52ca97c6ab5a14b84dabe7 /BaseTools/UserManuals | |
parent | e0b280b2b8ea833726c8c4e16359b6fe25cb0749 (diff) | |
download | edk2-platforms-2da7e7994917ea74d919090da781cd7697e7eb62.tar.xz |
BaseTools ConvertMasmToNasm: Fix running script outside of a git tree
The script previously would hit an exception if it was run outside of
a git tree.
The exception looked like:
edk2/BaseTools/Scripts/ConvertMasmToNasm.py Version 0.01
Traceback (most recent call last):
File "edk2/BaseTools/Scripts/ConvertMasmToNasm.py", line 986, in <module>
ConvertAsmApp()
File "edk2/BaseTools/Scripts/ConvertMasmToNasm.py", line 984, in __init__
ConvertAsmFile(src, dst, self)
File "edk2/BaseTools/Scripts/ConvertMasmToNasm.py", line 209, in __init__
CommonUtils.__init__(self, clone)
File "edk2/BaseTools/Scripts/ConvertMasmToNasm.py", line 69, in __init__
self.gitemail = clone.gitemail
AttributeError: ConvertAsmApp instance has no attribute 'gitemail'
Fixes: https://github.com/tianocore/edk2/issues/63
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 5369c2bb735a741b53f92928463cb425c59eb60b)
Diffstat (limited to 'BaseTools/UserManuals')
0 files changed, 0 insertions, 0 deletions