diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2018-06-01 15:38:19 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2018-06-08 08:38:46 +0200 |
commit | 85358069b8a1cdf6ba0859d425c7e5fe44d5b498 (patch) | |
tree | 53053385365f2214a9cfe82508ee232852a93f20 /bin/check-syntax | |
parent | e41c7f36a0813a2d01dbabc784346d90d56828c4 (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-x | bin/check-syntax | 5 |
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() |