diff options
author | Sergii Dmytruk <sergii.dmytruk@3mdeb.com> | 2024-06-22 20:46:44 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-05 19:33:50 +0000 |
commit | eeddb86aaaadcf5e716741db54af08531e25ff62 (patch) | |
tree | 07c997519d9543c0835da2fecb34d617496e0b59 | |
parent | 47c107817532609ec5b9a142308408510c0a9e39 (diff) | |
download | edk2-eeddb86aaaadcf5e716741db54af08531e25ff62.tar.gz edk2-eeddb86aaaadcf5e716741db54af08531e25ff62.tar.bz2 edk2-eeddb86aaaadcf5e716741db54af08531e25ff62.zip |
BaseTools/GenerateCapsule.py: Fix inconsistent error formatting
Just add a space between colon and a more detailed error message in two
places.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
-rw-r--r-- | BaseTools/Source/Python/Capsule/GenerateCapsule.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Capsule/GenerateCapsule.py b/BaseTools/Source/Python/Capsule/GenerateCapsule.py index 87fa998274..d694130bc4 100644 --- a/BaseTools/Source/Python/Capsule/GenerateCapsule.py +++ b/BaseTools/Source/Python/Capsule/GenerateCapsule.py @@ -580,7 +580,7 @@ if __name__ == '__main__': try:
SinglePayloadDescriptor.Validate (args)
except Exception as Msg:
- print ('GenerateCapsule: error:' + str(Msg))
+ print ('GenerateCapsule: error: ' + str(Msg))
sys.exit (1)
for SinglePayloadDescriptor in PayloadDescriptorList:
ImageCapsuleSupport = 0x0000000000000000
@@ -708,7 +708,7 @@ if __name__ == '__main__': try:
SinglePayloadDescriptor.Validate (args)
except Exception as Msg:
- print ('GenerateCapsule: error:' + str(Msg))
+ print ('GenerateCapsule: error: ' + str(Msg))
sys.exit (1)
try:
Result = UefiCapsuleHeader.Decode (Buffer)
|