Skip to content

Commit 9ffd97f

Browse files
committed
More lint
1 parent d4ea92d commit 9ffd97f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/storage/azure_storage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from .mixins import OverrideHostnameMixin
1515

1616

17-
log = logging.getLogger(__name__)
17+
log = logging.getLogger(__name__) # pylint: disable=invalid-name
1818

1919

2020
class AzureBuildMediaStorage(BuildMediaStorageMixin, OverrideHostnameMixin, AzureStorage):
@@ -38,7 +38,7 @@ def exists(self, name):
3838
"""Override to catch timeout exception and return False."""
3939
try:
4040
return super().exists(name)
41-
except:
41+
except Exception: # pylint: disable=broad-except
4242
log.exception('Timeout calling Azure .exists. name=%s', name)
4343
return False
4444

0 commit comments

Comments
 (0)