mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
pylint: Reenable C0201 consider-iterating-dictionary
* C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
This commit is contained in:
parent
a4c1ca48ad
commit
9749b26baa
4 changed files with 4 additions and 5 deletions
|
@ -312,7 +312,7 @@ def main():
|
|||
version=config['basebox_version']))
|
||||
sys.exit(1)
|
||||
# verify box
|
||||
if config['basebox_version'] not in BASEBOX_CHECKSUMS.keys():
|
||||
if config['basebox_version'] not in BASEBOX_CHECKSUMS:
|
||||
logging.critical("can not verify '{box}', "
|
||||
"unknown basebox version '{version}'"
|
||||
.format(box=config['basebox'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue