From 290dd78de29d7621ff562c53be95ed17fabced87 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 28 Feb 2022 03:42:38 +0100 Subject: [PATCH] fix warnings --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 99ec037..f2eed4f 100755 --- a/scripts/install +++ b/scripts/install @@ -160,7 +160,7 @@ pushd "$final_path" pip install -r requirements.txt mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases} ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini" - ynh_exec_warn_less PAGURE_CONFIG=${final_path}/pagure.cfg python createdb.py --initial alembic.ini + PAGURE_CONFIG=${final_path}/pagure.cfg python createdb.py --initial alembic.ini 2>&1 popd ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py" diff --git a/scripts/upgrade b/scripts/upgrade index 15d3e37..3fc1bc8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -170,7 +170,7 @@ pushd "$final_path" pip install -r requirements.txt mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases} ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini" - ynh_exec_warn_less PAGURE_CONFIG=${final_path}/pagure.cfg alembic upgrade head + PAGURE_CONFIG=${final_path}/pagure.cfg alembic upgrade head 2>&1 popd ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py"