tools/mpp: silence bare-except warning

In that case we don't care what exactly went wrong.
This commit is contained in:
Christian Kellner 2021-06-30 15:58:18 +00:00 committed by Tom Gundersen
parent f37c83ec25
commit 77c5c8e8a6

View file

@ -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