mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
refactor status_info as values in for better performance
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ def _cloud_status(
|
||||
|
||||
ret = {}
|
||||
status_info = self.cloud.status(used, jobs, remote=remote)
|
||||
for _, info in status_info.items():
|
||||
for _, info in status_info.values():
|
||||
name = info["name"]
|
||||
status = info["status"]
|
||||
if status in [cloud.STATUS_OK, cloud.STATUS_MISSING]:
|
||||
|
||||
Reference in New Issue
Block a user