From f018c5ca5e1aaca2f5c5bc9fca7dd4237401cc83 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Mon, 13 Mar 2017 11:13:14 +0800 Subject: optimize console info - use QtipLogger instead of print - delete useless print Change-Id: I1e08382a5d78ce53cf455496363bce3762b81dd2 Signed-off-by: wu.zhihui (cherry picked from commit 3391a3c6ab4f6b33e2f6d74e858a7bad573695b1) --- qtip/collector/parser/grep.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'qtip/collector') diff --git a/qtip/collector/parser/grep.py b/qtip/collector/parser/grep.py index 44edb5a1..d3a8210a 100644 --- a/qtip/collector/parser/grep.py +++ b/qtip/collector/parser/grep.py @@ -49,8 +49,6 @@ def _parse_logfile(config, paths): '{0}/{1}'.format(paths, regex_rules_by_file[GrepProp.FILENAME]) for regex in regex_rules_by_file['grep']: matches = grep_in_file(filename, regex) - for item in matches: - print item.groupdict() if len(matches) > 1: temp_dict = defaultdict(list) for item in [match.groupdict() for match in matches]: -- cgit 1.2.3-korg