From f4379c3f99fa6c3f65ae3d5201ee76b5946a91dd Mon Sep 17 00:00:00 2001 From: Kirill Zhukov Date: Thu, 29 Dec 2022 17:08:51 +0100 Subject: [PATCH] Small fixes in log messages and Readme --- README.md | 4 ++-- albs_oval_errata_diff/comparer.py | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8474052..78375ec 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ check [config.default.yml](config.default.yml) for references ```bash $ pip install -r requirements.txt ``` -4. Create config file using [config.default.yml](config.default.yml) and start service with `albs_oval_errata_dif.py` script +4. Create config file using [config.default.yml](config.default.yml) and start service with _albs_oval_errata_dif.py_ script ```bash - $ python albs_oval_errata_diff.py config.default.yml + $ python albs_oval_errata_diff.py config.yml 2022-12-29 16:20:11,139 INFO start Trying to load diff file from disk 2022-12-29 16:20:11,142 INFO start Diff file was loaded 2022-12-29 16:20:11,142 INFO start Starting diff_checker in background diff --git a/albs_oval_errata_diff/comparer.py b/albs_oval_errata_diff/comparer.py index 18e7c29..4694707 100644 --- a/albs_oval_errata_diff/comparer.py +++ b/albs_oval_errata_diff/comparer.py @@ -239,24 +239,24 @@ def comparer_run(config: Config) -> Dict[str, Any]: for release, urls in config.releases.items(): logging.info('Processing release %i', release) - logging.info('downloading rhel oval') + logging.info('Downloading rhel oval') rhel_file = download_oval(urls.rhel_oval_url, config.download_dir) - logging.info('parsing rhel oval') + logging.info('Parsing rhel oval') rhel_oval_dict = parse_oval(rhel_file, config.not_before) - logging.info('downloading alma oval') + logging.info('Downloading alma oval') alma_oval_file = download_oval( urls.alma_oval_url, download_dir=config.download_dir) - logging.info('parsing alma oval') + logging.info('Parsing alma oval') alma_oval_dict = parse_oval(alma_oval_file, config.not_before) - logging.info('downloading alma errata') + logging.info('Downloading alma errata') alma_errata_file = download_errata(urls.alma_errata_url, release, config.download_dir) - logging.info('parsing alma errata') + logging.info('Parsing alma errata') alma_errata_dict = parse_errata(alma_errata_file) - logging.info('comparing rhel and alma') + logging.info('Comparing rhel and alma') report_release, diff_release = \ compare(rhel_oval_dict, alma_oval_dict,