File tree Expand file tree Collapse file tree
src/managednetworkfabric/azext_managednetworkfabric/custom Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010def _load_legacy_custom_module ():
1111 """Load and return the sibling ``custom.py`` module for backward compatibility."""
12- legacy_module_path = Path (__file__ ).resolve ().parent .parent / ' custom.py'
12+ legacy_module_path = Path (__file__ ).resolve ().parent .parent / " custom.py"
1313 if not legacy_module_path .is_file ():
1414 return None
1515
16- module_name = __name__ + ' ._legacy_custom'
16+ module_name = __name__ + " ._legacy_custom"
1717 spec = importlib .util .spec_from_file_location (module_name , str (legacy_module_path ))
1818 if spec is None or spec .loader is None :
1919 return None
@@ -27,9 +27,9 @@ def _load_legacy_custom_module():
2727
2828if _legacy_custom_module is not None :
2929 for _name in dir (_legacy_custom_module ):
30- if not _name .startswith ('_' ):
30+ if not _name .startswith ("_" ):
3131 globals ()[_name ] = getattr (_legacy_custom_module , _name )
3232
33- __all__ = [name for name in dir (_legacy_custom_module ) if not name .startswith ('_' )]
33+ __all__ = [name for name in dir (_legacy_custom_module ) if not name .startswith ("_" )]
3434else :
3535 __all__ = []
You can’t perform that action at this time.
0 commit comments