summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2019-01-17 23:35:07 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-01-21 18:03:33 +0800
commit5c5ca9f1fbf876a6ff68887b1508063e1d4fb60c (patch)
treee36a265c3337767f074ec930266e30f4489a60ef /BaseTools/Source/Python/Common
parent1bcc2cd63da6b540ff9f19ac6bb0cb4cf7d20e00 (diff)
downloadedk2-5c5ca9f1fbf876a6ff68887b1508063e1d4fb60c.tar.gz
edk2-5c5ca9f1fbf876a6ff68887b1508063e1d4fb60c.tar.bz2
edk2-5c5ca9f1fbf876a6ff68887b1508063e1d4fb60c.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/Common')
-rw-r--r--BaseTools/Source/Python/Common/Misc.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/BaseTools/Source/Python/Common/Misc.py b/BaseTools/Source/Python/Common/Misc.py
index d2cbece894..8e4217a4f6 100644
--- a/BaseTools/Source/Python/Common/Misc.py
+++ b/BaseTools/Source/Python/Common/Misc.py
@@ -1904,12 +1904,6 @@ class SkuClass():
else:
return 'DEFAULT'
-#
-# Pack a registry format GUID
-#
-def PackRegistryFormatGuid(Guid):
- return PackGUID(Guid.split('-'))
-
## Get the integer value from string like "14U" or integer like 2
#
# @param Input The object that may be either a integer value or a string