aboutsummaryrefslogtreecommitdiffstats
path: root/anteater
diff options
context:
space:
mode:
authorlhinds <lhinds@redhat.com>2017-06-14 07:20:57 +0100
committerlhinds <lhinds@redhat.com>2017-06-14 08:00:26 +0100
commit7f6837bae644bc082193cd72a2704c985c0bc083 (patch)
tree3453e7492bd26f6dff9095907758c3877fe27e41 /anteater
parentb40c5d691d589ef5c53c6b08714a4cefda46b521 (diff)
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 <lhinds@redhat.com>
Diffstat (limited to 'anteater')
-rw-r--r--anteater/src/patch_scan.py2
-rw-r--r--anteater/src/project_scan.py2
2 files changed, 2 insertions, 2 deletions
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. \