- Getting the current file's path and join
with the migrations Change-Id: I4a8ed51850acfb7317659564519797727189063a
This commit is contained in:
parent
2b02db9332
commit
91aaf1830b
|
@ -16,6 +16,7 @@
|
|||
"""Cassandra storage driver implementation."""
|
||||
|
||||
import multiprocessing
|
||||
import os
|
||||
import ssl
|
||||
|
||||
import cassandra
|
||||
|
@ -64,7 +65,7 @@ CASSANDRA_OPTIONS = [
|
|||
),
|
||||
cfg.StrOpt(
|
||||
'migrations_path',
|
||||
default='./poppy/storage/cassandra/migrations',
|
||||
default=os.path.join(os.path.dirname(__file__), 'migrations'),
|
||||
help='Path to directory containing CQL migration scripts',
|
||||
),
|
||||
cfg.BoolOpt('archive_on_delete', default=True,
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -55,7 +55,7 @@ commands = {posargs}
|
|||
|
||||
[flake8]
|
||||
builtins = __CDN_SETUP__
|
||||
exclude = .venv*,venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv
|
||||
exclude = build,.venv*,venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv
|
||||
|
||||
[hacking]
|
||||
import_exceptions = poppy.openstack.common.gettextutils._
|
||||
|
|
Loading…
Reference in New Issue