diff options
Diffstat (limited to 'scripts/logextract.py')
-rwxr-xr-x | scripts/logextract.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/logextract.py b/scripts/logextract.py index 3050ff0b..d6da323d 100755 --- a/scripts/logextract.py +++ b/scripts/logextract.py @@ -645,11 +645,7 @@ class GatherShutdown: if first is not None and last > first + 5.0: self.finalize() return False - if ( - line.startswith("Git version") - or line.startswith("Start printer at") - or line == "===== Config file =====" - ): + if line.startswith("Start printer at") or line == "===== Config file =====": self.finalize() return False return True @@ -702,9 +698,7 @@ def main(): continue recent_lines.clear() handler = None - if line.startswith("Git version"): - last_git = format_comment(line_num, line) - elif line.startswith("Start printer at"): + if line.startswith("Start printer at"): last_start = format_comment(line_num, line) elif line == "===== Config file =====": handler = GatherConfig(configs, line_num, recent_lines, logname) |