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 return
try: try:
self._session.close() self._session.close()
except: except: # pylint: disable=bare-except
pass pass
self._session = None self._session = None