Merge "alembic: Explicitly set path_separator"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user