diff options
author | Rob Austein <sra@hactrn.net> | 2014-07-21 21:00:21 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-07-21 21:00:21 +0000 |
commit | da5a898a4809ff4ad28d3a26458e69769ad88bbe (patch) | |
tree | 4f69d7c603e99cd23e30faff53599555b475764d /rpki/pubd.py | |
parent | 8c9115efbd8626510ed4f917d4d9d7b17d3ae75e (diff) |
Prototype RRDP unpacker.
svn path=/branches/tk705/; revision=5905
Diffstat (limited to 'rpki/pubd.py')
-rw-r--r-- | rpki/pubd.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rpki/pubd.py b/rpki/pubd.py index 96a2bb72..1849a0dd 100644 --- a/rpki/pubd.py +++ b/rpki/pubd.py @@ -46,10 +46,9 @@ from lxml.etree import Element, SubElement, tostring as ElementToString logger = logging.getLogger(__name__) -# Temporary, these should come from the schema or something -rrdp_xmlns = "{http://www.ripe.net/rpki/rrdp}" +rrdp_xmlns = rpki.relaxng.rrdp.xmlns +rrdp_nsmap = rpki.relaxng.rrdp.nsmap rrdp_version = "1" -rrdp_nsmap = { None : rrdp_xmlns[1:-1] } def DERSubElement(elt, name, der, attrib = None, **kwargs): |