diff options
author | Rob Austein <sra@hactrn.net> | 2009-10-01 05:56:46 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-10-01 05:56:46 +0000 |
commit | 696e69947c7b29e1597358e8ed4d59c175513120 (patch) | |
tree | ca2a92b72121a2dda30563d6509edc182bb0d236 /myrpki/yamltest.py | |
parent | 73fad9b9c352d6c4c2aec7c0e2a8afbd57f56cd5 (diff) |
Cleanup
svn path=/myrpki/yamltest.py; revision=2804
Diffstat (limited to 'myrpki/yamltest.py')
-rw-r--r-- | myrpki/yamltest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/myrpki/yamltest.py b/myrpki/yamltest.py index 8ed99781..cd951af1 100644 --- a/myrpki/yamltest.py +++ b/myrpki/yamltest.py @@ -437,10 +437,12 @@ class allocation(object): section = None for line in open("examples/myrpki.conf"): + if not line.strip() or line.lstrip().startswith("#"): + continue m = section_regexp.match(line) if m: section = m.group(1) - if section is None or (self.is_hosted() and section in ("myirbe", "rpkid", "irdbd", "pubd", "rootd")): + if section is None or (self.is_hosted() and section in ("myirbe", "rpkid", "irdbd", "pubd", "rootd", "rootd_x509_extensions")): continue m = variable_regexp.match(line) if m is None else None variable = m.group(1) if m else None |