diff options
author | Steven Shi <steven.shi@intel.com> | 2019-09-18 11:21:09 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-09-19 08:48:31 +0800 |
commit | b0c15fb128c518b9acd8611a2deea213e9e55193 (patch) | |
tree | 9c197593012dfe4092e3520a015e40c6c928d823 /BaseTools/Source/Python/sitecustomize.py | |
parent | 82c1a2120855e7fe32417870910f4ce20dca97a3 (diff) | |
download | edk2-b0c15fb128c518b9acd8611a2deea213e9e55193.tar.gz edk2-b0c15fb128c518b9acd8611a2deea213e9e55193.tar.bz2 edk2-b0c15fb128c518b9acd8611a2deea213e9e55193.zip |
BaseTools: Add more parameter checking for CopyFileOnChange()
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2193
The current CopyFileOnChange() method in Misc.py does not
accept the input SrcFile parameter as a dir, but the method
does not check the SrcFile is dir or not. This patch is to
add more input parameter type checking and error message output
for method CopyFileOnChange.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions