Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pplogs/dracut-log.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
backup_stack = []
last_dracut_call = None

def check_pep8(s):
if s:
return True

def lsplit(line):
timestamp = "TIMESTAMP N/A"
process = "PROCESS N/A"
Expand Down Expand Up @@ -110,7 +114,7 @@ def indent_or_throw_away(process, tail):
if function and function not in dracut_stack:
if function in backup_stack:
idx = backup_stack.index(function)
dracut_stack = backup_stack[:idx+1]
dracut_stack = backup_stack[:idx+1]
backup_stack = []
else:
if function == "":
Expand Down