static code analysis: make it pass flake8 3.7.4 (!1748)

Test with flake8: *.py
./test/check_checksums.py:13:13: E117 over-indented
./pmb/config/init.py:97:8: F632 use ==/!= to compare str, bytes, and int literals
./pmb/parse/arguments.py:229:13: E117 over-indented
This commit is contained in:
Robert Yang 2019-02-02 17:30:49 -05:00
parent 6b4fd9b911
commit 67254b62c4
3 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ def ask_for_keymaps(args, device):
options = info["keymaps"].split(' ')
logging.info("Available keymaps for device (" + str(len(options)) +
"): " + ", ".join(options))
if args.keymap is "":
if args.keymap == "":
args.keymap = options[0]
while True: