Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pylint: Fix consider-using-dict-items
Pylint 2.9 introduced new checker: > Emitted when iterating over the keys of a dictionary and accessing the value by index lookup. Both the key and value can be accessed by iterating using the .items() method of the dictionary instead. See pylint-dev/pylint#3389 Fixes: fleet-commander#279 Signed-off-by: Stanislav Levin <slev@altlinux.org>
- Loading branch information