aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki/sax_utils.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-02-27 00:33:38 +0000
committerRob Austein <sra@hactrn.net>2008-02-27 00:33:38 +0000
commit62e55cba4e0567b6808bc527420560e7f3f9d551 (patch)
tree9b14379a697fd83cce1022e6b1860c996f8e480e /scripts/rpki/sax_utils.py
parent61133f08722018534d07527ffedc19ee5e0ced20 (diff)
Implement up-down <class resource_set_notafter="..."/> attribute, and
fix XML namespace handling to keep new version of lxml happy. svn path=/scripts/README; revision=1529
Diffstat (limited to 'scripts/rpki/sax_utils.py')
-rw-r--r--scripts/rpki/sax_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpki/sax_utils.py b/scripts/rpki/sax_utils.py
index 04f9c305..a472bee9 100644
--- a/scripts/rpki/sax_utils.py
+++ b/scripts/rpki/sax_utils.py
@@ -63,7 +63,7 @@ class handler(xml.sax.handler.ContentHandler):
a = dict()
for k,v in attrs.items():
if isinstance(k, tuple):
- if k == ('http://www.w3.org/XML/1998/namespace', 'lang'):
+ if k == ("http://www.w3.org/XML/1998/namespace", "lang"):
k = "xml:lang"
else:
assert k[0] is None