]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/Misc.py
BaseTools: Cleanup unneeded code
[mirror_edk2.git] / BaseTools / Source / Python / Common / Misc.py
index 90350f86382674bd8e59b654d3dae1a880847687..24706ebe500fc437ce3ed8e9b63feceacebda09f 100644 (file)
@@ -1328,7 +1328,7 @@ def ParseFieldValue (Value):
         try:\r
             Value = "'" + uuid.UUID(Value).get_bytes_le() + "'"\r
         except ValueError, Message:\r
-            raise BadExpression('%s' % Message)\r
+            raise BadExpression(Message)\r
         Value, Size = ParseFieldValue(Value)\r
         return Value, 16\r
     if Value.startswith('L"') and Value.endswith('"'):\r