From 10640616a6a73476e7721731d0ac80d23f7f8145 Mon Sep 17 00:00:00 2001 From: dylan Date: Thu, 4 Jun 2020 15:14:44 -0700 Subject: [PATCH] fix fileline ref before assigned error --- lib/collectinfo_parser/cinfo_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/collectinfo_parser/cinfo_parser.py b/lib/collectinfo_parser/cinfo_parser.py index 9792bc06..68cf1a17 100644 --- a/lib/collectinfo_parser/cinfo_parser.py +++ b/lib/collectinfo_parser/cinfo_parser.py @@ -328,6 +328,7 @@ def _parse_new_collectinfo_to_imap(cinfo_path, section_list, section_skip_list, def get_timestamp_from_file(cinfo_path): timestamp = '' + fileline = '' if not os.path.exists(cinfo_path): logger.warning("collectinfo doesn't exist at Path: " + cinfo_path) return