mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
maintainers/scripts/remove-old-aliases.py: ignore lines which have 'preserve, reason:' in them
This commit is contained in:
parent
43a765422f
commit
6ebf051cc0
2 changed files with 8 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue