aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rpki')
-rw-r--r--scripts/rpki/exceptions.py3
-rw-r--r--scripts/rpki/relaxng.py2
-rw-r--r--scripts/rpki/sql.py2
3 files changed, 5 insertions, 2 deletions
diff --git a/scripts/rpki/exceptions.py b/scripts/rpki/exceptions.py
index 3fce43b4..3c65f2b1 100644
--- a/scripts/rpki/exceptions.py
+++ b/scripts/rpki/exceptions.py
@@ -37,3 +37,6 @@ class BadClassNameSyntax(Exception):
class BadIssueResponse(Exception):
"""issue_response PDU with wrong number of classes or certificates."""
+
+class NotImplementedYet(Exception):
+ """Internal error -- not implemented yet."""
diff --git a/scripts/rpki/relaxng.py b/scripts/rpki/relaxng.py
index 72211ded..ead96834 100644
--- a/scripts/rpki/relaxng.py
+++ b/scripts/rpki/relaxng.py
@@ -6,7 +6,7 @@ import lxml.etree
## Parsed RelaxNG left_right schema
left_right = lxml.etree.RelaxNG(lxml.etree.fromstring('''<?xml version="1.0" encoding="UTF-8"?>
<!--
- $Id: left-right-schema.rnc 1088 2007-10-04 03:06:25Z sra $
+ $Id: left-right-schema.rng 1182 2007-10-22 08:37:55Z sra $
RelaxNG (Compact Syntax) Schema for RPKI left-right protocol.
diff --git a/scripts/rpki/sql.py b/scripts/rpki/sql.py
index 1bc328a5..891c7662 100644
--- a/scripts/rpki/sql.py
+++ b/scripts/rpki/sql.py
@@ -426,7 +426,7 @@ class ca_detail_obj(sql_persistant):
new CRL is needed.
"""
- raise NotImplementedError, "NIY"
+ raise rpki.exceptions.NotImplementedYet
def generate_manifest(self, gctx):
"""Generate a new manifest for this ca_detail."""