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
commitbf8bd87eaf89b9bca26c29753c35a202d3a3fa3f (patch)
tree4c0b448140c5d146da119faa4960a4a6950a3e15 /bin/check-syntax
parent62c2e2901f0ee5d5c1504c3358f30e31334a15fa (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