mirror of
https://opendev.org/openstack/designate.git
synced 2026-01-16 23:11:37 +00:00
Resolve deprecation warning from alembic
Resolve the following warning from alembic by adding the path_separator option: DeprecationWarning: No path_separator found in configuration; falling back to legacy splitting on spaces, commas, and colons for prepend_sys_path. Consider adding path_separator=os to Alembic config. The same was done in nova for example. https://review.opendev.org/c/openstack/nova/+/952266 Change-Id: I4a8cf5a54e3de768cd1883b67ce57484c32ce643 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
parent
3bc8178832
commit
70ffb6c1e7
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,10 @@ script_location = %(here)s/alembic
|
|||
# defaults to the current working directory.
|
||||
prepend_sys_path = .
|
||||
|
||||
# indicates what character is used to split lists of file paths, including
|
||||
# version_locations and prepend_sys_path
|
||||
path_separator = os
|
||||
|
||||
# timezone to use when rendering the date within the migration file
|
||||
# as well as the filename.
|
||||
# If specified, requires the python-dateutil library that can be
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue