aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/xml_utils.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-04-29 04:07:41 +0000
committerRob Austein <sra@hactrn.net>2009-04-29 04:07:41 +0000
commit55769ccf0d1230698646ab5afa331e7617505f4f (patch)
tree126f9e21c2e4dd8dfbdc6c266f18d5c4d6004fa3 /rpkid/rpki/xml_utils.py
parent4762069728c3874b8a240c5c99c87f935051fd5a (diff)
More lint
svn path=/rpkid/Makefile; revision=2373
Diffstat (limited to 'rpkid/rpki/xml_utils.py')
-rw-r--r--rpkid/rpki/xml_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/xml_utils.py b/rpkid/rpki/xml_utils.py
index 2f29b312..566c9a50 100644
--- a/rpkid/rpki/xml_utils.py
+++ b/rpkid/rpki/xml_utils.py
@@ -62,7 +62,7 @@ class sax_handler(xml.sax.handler.ContentHandler):
that's the object we'll be returning as our final result.
"""
a = dict()
- for k,v in attrs.items():
+ for k, v in attrs.items():
if isinstance(k, tuple):
if k == ("http://www.w3.org/XML/1998/namespace", "lang"):
k = "xml:lang"
@@ -168,7 +168,7 @@ class base_elt(object):
def make_pdu(cls, **kargs):
"""Generic PDU constructor."""
self = cls()
- for k,v in kargs.items():
+ for k, v in kargs.items():
if isinstance(v, bool):
v = 1 if v else 0
setattr(self, k, v)