From fee2c181b3d5f06648437d3a2520086e25961edd Mon Sep 17 00:00:00 2001 From: "Marcus A." Date: Tue, 7 Apr 2026 18:20:37 +0000 Subject: [PATCH] Remove temporary patch script --- scripts/patch.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 scripts/patch.py diff --git a/scripts/patch.py b/scripts/patch.py deleted file mode 100644 index 4f2757e..0000000 --- a/scripts/patch.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python3 - -path = "/workspace/skills/bms/scripts/bms-tickets.sh" -with open(path, "r") as f: - lines = f.readlines() - -# Find the line that is exactly ' local sep=""\n' -for i, line in enumerate(lines): - if line.strip() == 'local sep=""': - insert_idx = i + 1 - new_lines = [ - ' if [[ "$status" == "open" ]]; then\n', - ' filter+="\\"StatusNames\\":\\"Escalated,Open,Waiting for Customer,Waiting for Product(s),Waiting for Vendor\\""\n', - ' sep=","\n', - ' status=""\n', - ' fi\n', - ] - lines[insert_idx:insert_idx] = new_lines - break - -with open(path, "w") as f: - f.writelines(lines) -print("Patched after local sep line")