]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/build/build.py
BaseTools: do the list and iterator translation
[mirror_edk2.git] / BaseTools / Source / Python / build / build.py
index 8208636556e79410b359f0e9083dd89db4b0bf1a..ad30c652da5825678fbc2b01d7b8c8adabdbf31f 100644 (file)
@@ -503,7 +503,7 @@ class BuildTask:
 \r
                 # get all pending tasks\r
                 BuildTask._PendingQueueLock.acquire()\r
-                BuildObjectList = BuildTask._PendingQueue.keys()\r
+                BuildObjectList = list(BuildTask._PendingQueue.keys())\r
                 #\r
                 # check if their dependency is resolved, and if true, move them\r
                 # into ready queue\r