]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: drop unused modules
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Oct 2022 08:34:08 +0000 (17:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Oct 2022 08:34:11 +0000 (17:34 +0900)
Suggested by CodeQL#167 (https://github.com/systemd/systemd/security/code-scanning/167)
and CodeQL#168 (https://github.com/systemd/systemd/security/code-scanning/168).

test/rule-syntax-check.py

index 9a9e4d1658542e2e5cc538a391013c4af9d3932b..ec1c75a854cda8a63f357b01308a182bc16f644d 100755 (executable)
@@ -8,8 +8,6 @@
 
 import re
 import sys
-import os
-from glob import glob
 
 rules_files = sys.argv[1:]
 if not rules_files: