mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix issues reported by pyflakes
Fix several style issues and remove unneeded imports/assignments. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
aaa138cd38
commit
f8b3cb97e5
4 changed files with 63 additions and 21 deletions
|
@ -39,7 +39,7 @@ ssh_opts = config.get('auth', 'ssh-options')
|
|||
|
||||
keytype = sys.argv[1]
|
||||
keytext = sys.argv[2]
|
||||
if not keytype in valid_keytypes:
|
||||
if keytype not in valid_keytypes:
|
||||
exit(1)
|
||||
|
||||
db = mysql.connector.connect(host=aur_db_host, user=aur_db_user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue