Skip to content

Commit 16b5679

Browse files
committed
Dot character has special meaning in module names
Therefore we esacpe it using the underscore character.
1 parent 20820e1 commit 16b5679

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/configuration.docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _import(module_name, path):
5353
if f.name == f'{_MAIN_CONFIG}.py':
5454
continue
5555

56-
module_name = f"{_MODULE}.{f.name[:-len('.py')]}"
56+
module_name = f"{_MODULE}.{f.name[:-len('.py')]}".replace(".", "_")
5757

5858
_import(module_name, f.path)
5959

docker/ldap_config.docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _import(module_name, path):
5353
if f.name == f'{_MAIN_CONFIG}.py':
5454
continue
5555

56-
module_name = f"{_MODULE}.{f.name[:-len('.py')]}"
56+
module_name = f"{_MODULE}.{f.name[:-len('.py')]}".replace(".", "_")
5757

5858
_import(module_name, f.path)
5959

0 commit comments

Comments
 (0)