From 7f6837bae644bc082193cd72a2704c985c0bc083 Mon Sep 17 00:00:00 2001 From: lhinds Date: Wed, 14 Jun 2017 07:20:57 +0100 Subject: Adds Wiki URL to gerrit output A link to a wiki page is supplied, that instructs the user on how to make an exception patch. Also quick fix to log format Change-Id: Icfc8072d9764fe321e14b97080fca47d26ea8dc6 Signed-off-by: lhinds --- anteater/src/patch_scan.py | 2 +- anteater/src/project_scan.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'anteater') diff --git a/anteater/src/patch_scan.py b/anteater/src/patch_scan.py index 5bd1609..48c78fd 100644 --- a/anteater/src/patch_scan.py +++ b/anteater/src/patch_scan.py @@ -160,5 +160,5 @@ def process_failure(): """ If any scan operations register a failure, sys.exit(1) is called to allow jjb to register a failure""" if failure: - logger.error('Failures registered') + logger.error('Please visit: https://wiki.opnfv.org/x/5oey') sys.exit(1) diff --git a/anteater/src/project_scan.py b/anteater/src/project_scan.py index 9ab9e17..9b143e9 100644 --- a/anteater/src/project_scan.py +++ b/anteater/src/project_scan.py @@ -99,7 +99,7 @@ def scan_file(project_dir, project, binary_list, binary_project_list, format(line.rstrip())) logger.error('Matched String: {0}'. format(match.group())) - with open(reports_dir + "contents_" + project + ".log", + with open(reports_dir + "contents-" + project + ".log", "a") \ as gate_report: gate_report. \ -- cgit 1.2.3-korg