diff options
author | Rob Austein <sra@hactrn.net> | 2010-03-05 22:23:02 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-03-05 22:23:02 +0000 |
commit | 9c6f3b8602707afd33c9c7e52964791f62b2efc5 (patch) | |
tree | 8ba7d94e6d9d0bdc57a34f1a7618f247658b910c /rpkid/pubd.py | |
parent | fbbd547236a2a1da9912f7967e5993b37a2cc45c (diff) |
Checkpoint
svn path=/myrpki.rototill/examples/myrpki.conf; revision=3033
Diffstat (limited to 'rpkid/pubd.py')
-rw-r--r-- | rpkid/pubd.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rpkid/pubd.py b/rpkid/pubd.py index 386d2f06..8d58b002 100644 --- a/rpkid/pubd.py +++ b/rpkid/pubd.py @@ -61,7 +61,11 @@ class pubd_context(object): self.https_server_port = int(cfg.get("server-port", "4434")) self.publication_base = cfg.get("publication-base", "publication/") - self.publication_multimodule = cfg.getboolean("publication-multimodule", False) + + if cfg.has_option("publication-multimodule"): + self.publication_multimodule = cfg.getboolean("publication-multimodule") + else: + self.publication_multimodule = cfg.get("publication-module", "-") == "" def handler_common(self, query, client, cb, certs, crl = None): """ |