X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=BaseTools%2FSource%2FPython%2FGenFds%2FCapsuleData.py;h=5f93734935c2921015871941246fc06864489de6;hb=0e3bfc6f7a2b7b52cb684736d878e249edbff5cb;hp=651a16ec753a3c0098ad1318174aa50539cb2714;hpb=60dc40db2aac3d84332dbb17b1d20e353bfceb0c;p=mirror_edk2.git diff --git a/BaseTools/Source/Python/GenFds/CapsuleData.py b/BaseTools/Source/Python/GenFds/CapsuleData.py index 651a16ec75..5f93734935 100644 --- a/BaseTools/Source/Python/GenFds/CapsuleData.py +++ b/BaseTools/Source/Python/GenFds/CapsuleData.py @@ -229,7 +229,7 @@ class CapsulePayload(CapsuleData): ) if AuthData: Buffer += pack('QIHH', AuthData[0], AuthData[1], AuthData[2], AuthData[3]) - Buffer += uuid.UUID(AuthData[4]).get_bytes_le() + Buffer += uuid.UUID(AuthData[4]).bytes_le # # Append file content to the structure