Skip to content

Commit 2e969b5

Browse files
author
Johan Broberg
committed
Add comments to clarify error handling in namespace package finder
1 parent 05c1608 commit 2e969b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/extensions

libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/extensions/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@
2525
if path not in __path__ and not path.endswith(".__path_hook__"):
2626
__path__.append(path)
2727
except (ImportError, TypeError):
28+
# Silently skip finders that don't support our find_spec call signature
29+
# or fail to locate the module - we'll try other finders in meta_path
2830
pass

0 commit comments

Comments
 (0)