diff options
Diffstat (limited to 'src/lib/Server/Plugins/Metadata.py')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 084873471..b78d05ada 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -296,7 +296,7 @@ class Metadata(Bcfg2.Server.Plugin.MetadataPlugin, value=self.probedata[client][probe]) for group in self.cgroups[client]: lxml.etree.SubElement(cx, "Group", name=group) - data = lxml.etree.tostring(top) + data = lxml.etree.tostring(top, encoding='UTF-8', xml_declaration=True) try: datafile = open("%s/%s" % (self.data, 'probed.xml'), 'w') except IOError: |