[FIX] script db_drop_all.py fix execute_shell
This commit is contained in:
parent
5b87769e2e
commit
d1755f6683
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ def get_config():
|
||||||
def main():
|
def main():
|
||||||
config = get_config()
|
config = get_config()
|
||||||
|
|
||||||
out_db = execute_shell("./odoo_bin.sh db --list")
|
status, out_db = execute_shell("./odoo_bin.sh db --list")
|
||||||
lst_db = out_db.split("\n")
|
lst_db = out_db.split("\n")
|
||||||
|
|
||||||
lst_database_to_delete = []
|
lst_database_to_delete = []
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ _logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
PROJECT_NAME = os.path.basename(os.getcwd())
|
PROJECT_NAME = os.path.basename(os.getcwd())
|
||||||
IDEA_PATH = "./.idea"
|
IDEA_PATH = "./.idea"
|
||||||
DEFAULT_ODOO_BIN = "./odoo/odoo-bin" # Will be replaced dynamic
|
DEFAULT_ODOO_BIN = "./odoo/odoo-bin" # Need this to replace static configuration
|
||||||
IDEA_MISC = os.path.join(IDEA_PATH, "misc.xml")
|
IDEA_MISC = os.path.join(IDEA_PATH, "misc.xml")
|
||||||
IDEA_WORKSPACE = os.path.join(IDEA_PATH, "workspace.xml")
|
IDEA_WORKSPACE = os.path.join(IDEA_PATH, "workspace.xml")
|
||||||
VCS_WORKSPACE = os.path.join(IDEA_PATH, "vcs.xml")
|
VCS_WORKSPACE = os.path.join(IDEA_PATH, "vcs.xml")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue