repo_pull: Disable bare-except warning

Change-Id: I6a4af635811dc5d807196812e7782070fe230990
This commit is contained in:
Luca Stefani
2020-07-15 11:17:07 +02:00
parent 781e401ba0
commit edc569c60c
4 changed files with 4 additions and 0 deletions

View File

@@ -366,6 +366,7 @@ def main():
if not args.gerrit:
try:
args.gerrit = find_gerrit_name()
# pylint: disable=bare-except
except:
print('gerrit instance not found, use [-g GERRIT]')
sys.exit(1)