From dafbba65e33ddd766e269bfd61848f3cc5db6c17 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 1 Jun 2024 20:11:05 -0400 Subject: [PATCH] Permit the '@' character in filenames This will allow for systemd template units to be stored in files/ without mangling the filename. Signed-off-by: Mike Gilbert --- src/pkgcheck/checks/pkgdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgcheck/checks/pkgdir.py b/src/pkgcheck/checks/pkgdir.py index ef90baac5..67aa1fb39 100644 --- a/src/pkgcheck/checks/pkgdir.py +++ b/src/pkgcheck/checks/pkgdir.py @@ -17,7 +17,7 @@ allowed_filename_chars.update(chr(x) for x in range(ord("a"), ord("z") + 1)) allowed_filename_chars.update(chr(x) for x in range(ord("A"), ord("Z") + 1)) allowed_filename_chars.update(chr(x) for x in range(ord("0"), ord("9") + 1)) -allowed_filename_chars.update([".", "-", "_", "+", ":"]) +allowed_filename_chars.update([".", "-", "_", "+", ":", "@"]) class MismatchedPN(results.PackageResult, results.Error):