Merge "alembic: Explicitly set path_separator"

This commit is contained in:
Zuul
2025-07-18 16:57:33 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ prepend_sys_path = .
# version_path_separator = ;
# version_path_separator = space
# version_path_separator = os
version_path_separator = os
# the output encoding used when revision files
# are written from script.py.mako

View File

@@ -90,7 +90,7 @@ def _find_alembic_conf():
for branch in MIGRATION_BRANCHES:
version_path = os.path.join(VERSIONS_PATH, release, branch)
version_paths.append(version_path)
config.set_main_option('version_locations', ' '.join(version_paths))
config.set_main_option('version_locations', os.pathsep.join(version_paths))
return config