git-repo/subcmds
David Pursehouse 145e35b805 Fix usage of bare 'except'
flake8 reports:

  E722 do not use bare 'except'

Replace them with 'except Exception' per [1] which says:

  Bare except will catch exceptions you almost certainly don't want
  to catch, including KeyboardInterrupt (the user hitting Ctrl+C) and
  Python-raised errors like SystemExit

  If you don't have a specific exception you're expecting, at least
  except Exception, which is the base type for all "Regular" exceptions.

[1] https://stackoverflow.com/a/54948581

Change-Id: Ic555ea9482645899f5b04040ddb6b24eadbf9062
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254606
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: David Pursehouse <dpursehouse@collab.net>
2020-02-12 06:49:25 +00:00
..
__init__.py Fix indentation issues reported by flake8 2020-02-12 06:36:22 +00:00
abandon.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
branches.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
checkout.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
cherry_pick.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
diff.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
diffmanifests.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
download.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
forall.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
gitc_delete.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
gitc_init.py init: handle -c conflicts with gitc-init 2020-02-05 16:00:10 +00:00
grep.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
help.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
info.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
init.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
list.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
manifest.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
overview.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
prune.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
rebase.py Fix indentation issues reported by flake8 2020-02-12 06:36:22 +00:00
selfupdate.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
smartsync.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
stage.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
start.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
status.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
sync.py Fix usage of bare 'except' 2020-02-12 06:49:25 +00:00
upload.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00
version.py Fix blank line issues reported by flake8 2020-02-12 06:36:40 +00:00