tools/mpp: silence bare-except warning
In that case we don't care what exactly went wrong.
This commit is contained in:
parent
f37c83ec25
commit
77c5c8e8a6
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ def _dnf_expand_baseurl(baseurl, basedir):
|
|||
if not result.scheme:
|
||||
path = basedir.joinpath(baseurl)
|
||||
return path.as_uri()
|
||||
except:
|
||||
except: # pylint: disable=bare-except
|
||||
pass
|
||||
return baseurl
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue