aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--myrpki/yamltest.py4
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