aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-10-14 05:56:03 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2019-10-14 05:56:03 +0100
commitca43a6c83da53771cca61597f1ff6a2019e8a805 (patch)
tree8c70050b34c97b55afd220aac470c72311be52a2
parentffaaeb449a7444a7ef35a15fea40c19912db8e8c (diff)
cleanaing up more logging
-rw-r--r--datamaps/main.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/datamaps/main.py b/datamaps/main.py
index 84d2e1b..3acd4a8 100644
--- a/datamaps/main.py
+++ b/datamaps/main.py
@@ -149,8 +149,7 @@ def master(master):
@click.argument("target_file")
def data_validations(target_file):
"""Requires the path to the target spreadsheet file."""
- click.secho(f"Getting data validations from: {target_file}", fg="green")
- engine_config.initialise()
+ logger.info(f"Getting data validations from: {target_file}")
report = engine_cli.report_data_validations_in_file(target_file)
for r in report:
- click.secho(r)
+ logger.info(r)