mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 00:10:29 +03:00
has_key() is uglier and slower than "if key in..."
This commit is contained in:
parent
f73857fe71
commit
7bb4d5865b
5 changed files with 27 additions and 27 deletions
|
|
@ -81,7 +81,7 @@ def main():
|
|||
# If a collision does occur later, we're going to have to
|
||||
# come up with a new alogrithm, AND rename all existing keys
|
||||
# in the keystore!
|
||||
if keyaliases.has_key(appid):
|
||||
if appid in keyaliases:
|
||||
# For this particular app, the key alias is overridden...
|
||||
keyalias = keyaliases[appid]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue