summaryrefslogtreecommitdiffstats
path: root/bin/check-syntax
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2018-06-01 15:38:19 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2018-06-08 08:38:46 +0200
commit375ba023951257874416fd6fc291945210354d66 (patch)
tree6ce2643f281c924076d505b2a912c6acce8f0242 /bin/check-syntax
parent0b664197d33a0e35348969561dafaad09b6c44a0 (diff)
Merge DLAFile into DSAFile
The only difference is that the regular expressions look for DSA or DLA, but we can just guess that based on the path.
Diffstat (limited to 'bin/check-syntax')
-rwxr-xr-xbin/check-syntax5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/check-syntax b/bin/check-syntax
index ee23752068..475cf87d38 100755
--- a/bin/check-syntax
+++ b/bin/check-syntax
@@ -65,13 +65,10 @@ def parse_DSA(name):
def parse_DTSA(name):
do_parse(construct(bugs.DTSAFile, name))
-def parse_DLA(name):
- do_parse(construct(bugs.DLAFile, name))
-
file_types = {'CVE' : parse_CVE,
'DSA' : parse_DSA,
'DTSA' : parse_DTSA,
- 'DLA' : parse_DLA}
+ 'DLA' : parse_DSA}
if len(sys.argv) <> 3 or not file_types.has_key(sys.argv[1]):
l = file_types.keys()

© 2014-2024 Faster IT GmbH | imprint | privacy policy