diff options
Diffstat (limited to 'rpkid/rpki/xml_utils.py')
-rw-r--r-- | rpkid/rpki/xml_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/rpki/xml_utils.py b/rpkid/rpki/xml_utils.py index 27c1f1e6..156d0e48 100644 --- a/rpkid/rpki/xml_utils.py +++ b/rpkid/rpki/xml_utils.py @@ -3,7 +3,7 @@ XML utilities. $Id$ -Copyright (C) 2009-2011 Internet Systems Consortium ("ISC") +Copyright (C) 2009-2012 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -206,7 +206,7 @@ class base_elt(object): """ Convert a base_elt object to string format. """ - lxml.etree.tostring(self.toXML(), pretty_print = True, encoding = "us-ascii") + return lxml.etree.tostring(self.toXML(), pretty_print = True, encoding = "us-ascii") @classmethod def make_pdu(cls, **kargs): @@ -451,7 +451,7 @@ class msg(list): """ Convert msg object to string. """ - lxml.etree.tostring(self.toXML(), pretty_print = True, encoding = "us-ascii") + return lxml.etree.tostring(self.toXML(), pretty_print = True, encoding = "us-ascii") def toXML(self): """ |