diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2016-02-06 16:23:01 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-02-06 16:23:01 +0100 |
commit | f8b3cb97e54f9de73c6c2fca0cfade7e1657f1e4 (patch) | |
tree | 6fd3b1e9fd15d54e5fb0f2855000655231920dce /git-interface/git-auth.py | |
parent | aaa138cd38d919072fd56d58b1eb32d5e3bc1e80 (diff) | |
download | aurweb-f8b3cb97e54f9de73c6c2fca0cfade7e1657f1e4.tar.xz |
Fix issues reported by pyflakes
Fix several style issues and remove unneeded imports/assignments.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'git-interface/git-auth.py')
-rwxr-xr-x | git-interface/git-auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/git-auth.py b/git-interface/git-auth.py index c7de777..83bd20c 100755 --- a/git-interface/git-auth.py +++ b/git-interface/git-auth.py @@ -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, |