Fix PyLint warning with "No exception type(s) specified (bare-except)"

This commit is contained in:
Ivan Kravets
2021-06-29 18:25:20 +03:00
parent 5390b4ed42
commit 72cc23ef46

View File

@@ -103,7 +103,7 @@ class HTTPClient(object):
return
try:
self._session.close()
except:
except: # pylint: disable=bare-except
pass
self._session = None