]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenFds/Capsule: move function logic
authorCarsey, Jaben <jaben.carsey@intel.com>
Thu, 17 Jan 2019 15:35:07 +0000 (23:35 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Mon, 21 Jan 2019 10:03:33 +0000 (18:03 +0800)
commit5c5ca9f1fbf876a6ff68887b1508063e1d4fb60c
treee36a265c3337767f074ec930266e30f4489a60ef
parent1bcc2cd63da6b540ff9f19ac6bb0cb4cf7d20e00
BaseTools/GenFds/Capsule: move function logic

Move PackRegistryFormatGuid logic from Common.Misc to this file.
There were no other consumers of the function.
As it is one line, just replace the logic without the separate function.

v2 - change to fix the import statement

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Common/Misc.py
BaseTools/Source/Python/GenFds/Capsule.py