Some depots now have a dict like {"public": {"gid": GID, ...}, ...} where we would traditionally have seen a flat dict {"public": GID, ...}. Not all depots have this: at the time of writing,
1628350 "Steam Linux Runtime - Sniper" does, but
1391110 "Steam Linux Runtime - Soldier" does not. Presumably this is a change that is being rolled out gradually to let the Steam client give better estimates of the size of a depot.
Cope with either format, by retrieving the gid field if the nested dict is present.
Some depots now have a dict like
{"public": {"gid": GID, ...}, ...}
where we would traditionally have seen a flat dict{"public": GID, ...}
. Not all depots have this: at the time of writing, 1628350 "Steam Linux Runtime - Sniper" does, but 1391110 "Steam Linux Runtime - Soldier" does not. Presumably this is a change that is being rolled out gradually to let the Steam client give better estimates of the size of a depot.Cope with either format, by retrieving the gid field if the nested dict is present.
Resolves: https://github.com/ValvePython/steam/issues/436