diff options
author | Rob Austein <sra@hactrn.net> | 2009-10-26 22:31:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-10-26 22:31:16 +0000 |
commit | 1e11a8aa6905c02a4695313d5d6a6bd3ba3732dc (patch) | |
tree | 050348593d46a04e00970cc02f74f8ac87881847 /rpkid/rpki/xml_utils.py | |
parent | 076297fd151dce8bd496e13855e23d47d45850bc (diff) |
Refactor publication code, step 1: clean up
rpki.left_right.repository_elt.call_pubd() and methods in
rpki.xmlutils.msg class that were (mis)designed to fit.
svn path=/myrpki/myirbe.py; revision=2836
Diffstat (limited to 'rpkid/rpki/xml_utils.py')
-rw-r--r-- | rpkid/rpki/xml_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/xml_utils.py b/rpkid/rpki/xml_utils.py index e3b9a7f0..274eeea0 100644 --- a/rpkid/rpki/xml_utils.py +++ b/rpkid/rpki/xml_utils.py @@ -454,14 +454,14 @@ class msg(list): @classmethod def query(cls, *args): """Create a query PDU.""" - self = cls(*args) + self = cls(args) self.type = "query" return self @classmethod def reply(cls, *args): """Create a reply PDU.""" - self = cls(*args) + self = cls(args) self.type = "reply" return self |