diff options
Diffstat (limited to 'scripts/rpki')
-rw-r--r-- | scripts/rpki/relaxng.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/rpki/relaxng.py b/scripts/rpki/relaxng.py index bbfc6d72..1478b66f 100644 --- a/scripts/rpki/relaxng.py +++ b/scripts/rpki/relaxng.py @@ -12,13 +12,3 @@ class RelaxNG(lxml.etree.RelaxNG): Initialize a RelaxNG validator from a file. """ lxml.etree.RelaxNG.__init__(self, lxml.etree.parse(filename)) - - def assertValid(self, doc): - """ - Provide a bit more information on validation failures. - """ - try: - lxml.etree.RelaxNG.assertValid(self, doc) - except lxml.etree.DocumentInvalid: - print self.error_log.last_error - raise |