diff options
Diffstat (limited to 'cloudinit/importer.py')
-rw-r--r-- | cloudinit/importer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/importer.py b/cloudinit/importer.py index 4e677af3..f84ff4da 100644 --- a/cloudinit/importer.py +++ b/cloudinit/importer.py @@ -48,7 +48,7 @@ def find_module(base_name: str, search_paths, required_attrs=None) -> tuple: if path: real_path.extend(path.split(".")) real_path.append(base_name) - full_path = '.'.join(real_path) + full_path = ".".join(real_path) lookup_paths.append(full_path) found_paths = [] for full_path in lookup_paths: @@ -67,4 +67,5 @@ def find_module(base_name: str, search_paths, required_attrs=None) -> tuple: found_paths.append(full_path) return (found_paths, lookup_paths) + # vi: ts=4 expandtab |