Skip to content

Commit a719a91

Browse files
committed
lint + feedback
1 parent fe06530 commit a719a91

File tree

1 file changed

+8
-7
lines changed
  • azure_functions_worker/bindings

1 file changed

+8
-7
lines changed

azure_functions_worker/bindings/meta.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ def load_binding_registry() -> None:
3737
if BINDING_REGISTRY is None:
3838
# If the BINDING_REGISTRY is None, azure-functions hasn't been
3939
# loaded in properly.
40-
raise AttributeError('BINDING_REGISTRY is None. '
41-
'Sys Path: %s. Sys Module: %s. '
40+
raise AttributeError('BINDING_REGISTRY is None. azure-functions '
41+
'library not found. Sys Path: %s. '
42+
'Sys Modules: %s. '
4243
'python-packages Path exists: %s.',
4344
sys.path, sys.modules,
4445
os.path.exists(CUSTOMER_PACKAGES_PATH))
@@ -51,11 +52,11 @@ def load_binding_registry() -> None:
5152
global DEFERRED_BINDING_REGISTRY
5253
DEFERRED_BINDING_REGISTRY = clients.get_binding_registry()
5354
except ImportError:
54-
logger.info('Base extension not found. '
55-
'Python version: 3.%s, Sys path: %s, '
56-
'Sys Module: %s, python-packages Path exists: %s.',
57-
sys.version_info.minor, sys.path,
58-
sys.modules, os.path.exists(CUSTOMER_PACKAGES_PATH))
55+
logger.debug('Base extension not found. '
56+
'Python version: 3.%s, Sys path: %s, '
57+
'Sys Module: %s, python-packages Path exists: %s.',
58+
sys.version_info.minor, sys.path,
59+
sys.modules, os.path.exists(CUSTOMER_PACKAGES_PATH))
5960

6061

6162
def get_binding(bind_name: str,

0 commit comments

Comments
 (0)