aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-12-13 14:23:44 +0000
committerRob Austein <sra@hactrn.net>2011-12-13 14:23:44 +0000
commit3437696dc1da196ba5f5cbf747c576377250b495 (patch)
tree922164b41bb83619bdcdb5328bbe4aadbc1a12f1
parentea296c7684c077bab8850d7f8742631e36455a50 (diff)
Sort out (fake) SAX handler.
svn path=/branches/tk100/; revision=4120
-rw-r--r--rpkid/rpki/irdb/models.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/rpkid/rpki/irdb/models.py b/rpkid/rpki/irdb/models.py
index 198371a7..107d2f5a 100644
--- a/rpkid/rpki/irdb/models.py
+++ b/rpkid/rpki/irdb/models.py
@@ -120,19 +120,8 @@ class PKCS10Field(DERField):
class SignedReferral(rpki.x509.XML_CMS_object):
encoding = "us-ascii"
-
- # We don't really want all of the myrpki schema, just the
- # authorization token. Will probably end up needing to write
- # another schema.
- #
schema = rpki.relaxng.myrpki
-
- # Um, we're not using SAX here. We probably just want to return an
- # etree. SAX is really a misnomer here anyway, all the method
- # really means is "decode this puppy and return the decoded object,
- # whatever that might be".
- #
- #saxify = None
+ saxify = staticmethod(lambda x: x)
class SignedReferralField(DERField):
description = "CMS signed object containing XML"