diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 17:48:21 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 21:46:37 +0100 |
commit | adcf25e7ba68d13f0ce3420d24fc91840b30e893 (patch) | |
tree | 5f62a0735aa2aa1f06438437dbe39cdd5ad7ebc2 /scripts/logextract.py | |
parent | 98e179c3bbbb6a5d10130eae5b97231b76cad7f7 (diff) | |
download | kutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.tar.gz kutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.tar.xz kutter-adcf25e7ba68d13f0ce3420d24fc91840b30e893.zip |
Remove git based version handling
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) |