From adcf25e7ba68d13f0ce3420d24fc91840b30e893 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 15 Aug 2025 17:48:21 +0100 Subject: Remove git based version handling --- scripts/logextract.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'scripts/logextract.py') 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) -- cgit v1.2.3-70-g09d2