Skip to content

Commit

Permalink
Permit the '@' character in filenames
Browse files Browse the repository at this point in the history
This will allow for systemd template units to be stored in files/
without mangling the filename.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
  • Loading branch information
floppym committed Jun 2, 2024
1 parent 257d394 commit dafbba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkgcheck/checks/pkgdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit dafbba6

Please sign in to comment.