Code Review
/
integration
/
test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Resolve E722 do not use bare except
[integration/test.git]
/
tools
/
distchanges
/
gerritquery.py
diff --git
a/tools/distchanges/gerritquery.py
b/tools/distchanges/gerritquery.py
index b6cddc5cdb22fd526cab938ec18994779f6609b8..9f5b7f455ad30fd48d69c1eaf1d470bbcd84faa8 100644
(file)
--- a/
tools/distchanges/gerritquery.py
+++ b/
tools/distchanges/gerritquery.py
@@
-82,7
+82,7
@@
class GerritQuery:
return string.encode(encoding or 'utf-8', 'replace')
else:
return str(string)
- except:
+ except
Exception
:
return str(string)
def run_command_status(self, *argv, **kwargs):