We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ea92d commit 9ffd97fCopy full SHA for 9ffd97f
readthedocs/storage/azure_storage.py
@@ -14,7 +14,7 @@
14
from .mixins import OverrideHostnameMixin
15
16
17
-log = logging.getLogger(__name__)
+log = logging.getLogger(__name__) # pylint: disable=invalid-name
18
19
20
class AzureBuildMediaStorage(BuildMediaStorageMixin, OverrideHostnameMixin, AzureStorage):
@@ -38,7 +38,7 @@ def exists(self, name):
38
"""Override to catch timeout exception and return False."""
39
try:
40
return super().exists(name)
41
- except:
+ except Exception: # pylint: disable=broad-except
42
log.exception('Timeout calling Azure .exists. name=%s', name)
43
return False
44
0 commit comments