Allow for not specifying a certificate when importing a metadata file over the net.

This commit is contained in:
Roland Hedberg 2015-05-28 12:47:29 +02:00
parent dde908b596
commit 9c2b951be6
1 changed files with 4 additions and 0 deletions

View File

@ -803,6 +803,10 @@ class MetadataStore(object):
_args[_key] = kwargs[_key]
except KeyError:
pass
if "cert" not in kwargs:
kwargs["cert"] = ""
_md = MetaDataExtern(self.onts, self.attrc,
kwargs["url"], self.security,
kwargs["cert"], self.http, **_args)