Skip to content

Commit

Permalink
Minor changes for loganalyzer
Browse files Browse the repository at this point in the history
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
  • Loading branch information
saiarcot895 committed Aug 6, 2021
1 parent 19c58a8 commit f4db4ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible/roles/test/files/tools/loganalyzer/loganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#---------------------------------------------------------------------
# Global imports
#---------------------------------------------------------------------
from __future__ import print_function
import sys
import getopt
import re
Expand Down Expand Up @@ -654,7 +655,7 @@ def main(argv):

analyzer = AnsibleLogAnalyzer(run_id, verbose, start_marker)

log_file_list = [_f for _f in log_files_in.split(tokenizer) if _f]
log_file_list = list(filter(None, log_files_in.split(tokenizer)))

result = {}
if (action == "init"):
Expand Down

0 comments on commit f4db4ee

Please sign in to comment.