From 76467e420ed07ba8fbee15fb366d1dac5ee04e85 Mon Sep 17 00:00:00 2001 From: Dan Puttick Date: Mon, 17 Apr 2017 17:09:11 -0500 Subject: [PATCH] Add work-in-progress support for errors in log --- bin/filecheck.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/filecheck.py b/bin/filecheck.py index 21da06a..0817663 100644 --- a/bin/filecheck.py +++ b/bin/filecheck.py @@ -589,8 +589,11 @@ class GroomerLogger(object): st=file_props['subtype'], desc=description_category, desc_str=description_string, - # errs='' # TODO: add errors in human readable form here ) + # TODO: work in progress, finish adding Errors and check that they appear properly + # if file_props['errors']: + # error_string = ', '.join([str(key) for key in file_props['errors']]) + # file_string.append(' Errors: ' + error_string) if in_tempdir: depth -= 1 self._write_line_to_log(file_string, depth)