From 3d4122a0d24d938e7dd77ceb1c508dfd142031d5 Mon Sep 17 00:00:00 2001 From: seallard Date: Wed, 10 May 2023 10:54:58 +0200 Subject: [PATCH 1/3] Remove log with database connection string --- housekeeper/cli/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/housekeeper/cli/core.py b/housekeeper/cli/core.py index 235f4706..6043f7e2 100644 --- a/housekeeper/cli/core.py +++ b/housekeeper/cli/core.py @@ -41,8 +41,7 @@ def base( raise click.Abort if not root_path: LOG.error("Please specify a root dir") - raise click.Abort - LOG.info("Use database %s", db_path) + raise click.Abort) context.obj["database"] = db_path LOG.info("Use root path %s", root_path) context.obj["store"] = Store(db_path, root_path) From 1e89b49403f44d2e2826dfca6b2d0d35137781be Mon Sep 17 00:00:00 2001 From: seallard Date: Wed, 10 May 2023 11:28:09 +0200 Subject: [PATCH 2/3] Fix syntax --- housekeeper/cli/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/housekeeper/cli/core.py b/housekeeper/cli/core.py index 6043f7e2..a41a7815 100644 --- a/housekeeper/cli/core.py +++ b/housekeeper/cli/core.py @@ -41,7 +41,7 @@ def base( raise click.Abort if not root_path: LOG.error("Please specify a root dir") - raise click.Abort) + raise click.Abort() context.obj["database"] = db_path LOG.info("Use root path %s", root_path) context.obj["store"] = Store(db_path, root_path) From 6c055c20784b1e922b557350c4b535e9077599ce Mon Sep 17 00:00:00 2001 From: seallard Date: Wed, 10 May 2023 11:55:06 +0200 Subject: [PATCH 3/3] Fix syntax --- housekeeper/cli/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/housekeeper/cli/core.py b/housekeeper/cli/core.py index a41a7815..93f6a791 100644 --- a/housekeeper/cli/core.py +++ b/housekeeper/cli/core.py @@ -41,7 +41,7 @@ def base( raise click.Abort if not root_path: LOG.error("Please specify a root dir") - raise click.Abort() + raise click.Abort context.obj["database"] = db_path LOG.info("Use root path %s", root_path) context.obj["store"] = Store(db_path, root_path)