]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Workspace/MetaDataTable.py
BaseTools: the list and iterator translation
[mirror_edk2.git] / BaseTools / Source / Python / Workspace / MetaDataTable.py
index 8becddbe0849a7b0793dd626c735d770d35cda4b..c5be0ab10c77c917b9bc845b8426bbd633aa4f5f 100644 (file)
@@ -22,7 +22,7 @@ from CommonDataClass.DataClass import FileClass
 \r
 ## Convert to SQL required string format\r
 def ConvertToSqlString(StringList):\r
-    return map(lambda s: "'" + s.replace("'", "''") + "'", StringList)\r
+    return list(map(lambda s: "'" + s.replace("'", "''") + "'", StringList))\r
 \r
 ## TableFile\r
 #\r