summary refs log tree commit diff
path: root/maintainers/scripts
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-03-02 19:02:11 +0200
committerArtturin <Artturin@artturin.com>2022-03-08 21:18:22 +0200
commit6ebf051cc036b0b864e43e532bf434895a7dae38 (patch)
treeb7166f623a3bcdacea2c2c3785765efcf5b3e841 /maintainers/scripts
parent43a765422f931e96cc1c1299a3164adf6bfe5e84 (diff)
downloadnixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar.gz
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar.bz2
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar.lz
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar.xz
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.tar.zst
nixpkgs-6ebf051cc036b0b864e43e532bf434895a7dae38.zip
maintainers/scripts/remove-old-aliases.py: ignore lines which have 'preserve, reason:' in them
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-xmaintainers/scripts/remove-old-aliases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/remove-old-aliases.py b/maintainers/scripts/remove-old-aliases.py
index 5d9398feaa2..8ed326cbc20 100755
--- a/maintainers/scripts/remove-old-aliases.py
+++ b/maintainers/scripts/remove-old-aliases.py
@@ -57,7 +57,7 @@ def get_date_lists(
                 except ValueError:
                     continue
 
-        if my_date is None or my_date > cutoffdate:
+        if my_date is None or my_date > cutoffdate or "preserve, reason:" in line.lower():
             continue
 
         if "=" not in line: