summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Reporting.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-04-10 10:29:35 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-04-10 10:29:35 -0500
commitc313bf1d75ae4fa885cd099f299177d84dd8a95d (patch)
tree151ec1345a0527a0008d583c586ea0fea9f74ec8 /src/lib/Bcfg2/Server/Plugins/Reporting.py
parent2cb245f4ebf5dbd37f11f02a7d1598b050799515 (diff)
downloadbcfg2-c313bf1d75ae4fa885cd099f299177d84dd8a95d.tar.gz
bcfg2-c313bf1d75ae4fa885cd099f299177d84dd8a95d.tar.bz2
bcfg2-c313bf1d75ae4fa885cd099f299177d84dd8a95d.zip
PY3K: Fix client/server to work with python 3
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Reporting.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Reporting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Reporting.py b/src/lib/Bcfg2/Server/Plugins/Reporting.py
index 3bd6fd14f..3354763d4 100644
--- a/src/lib/Bcfg2/Server/Plugins/Reporting.py
+++ b/src/lib/Bcfg2/Server/Plugins/Reporting.py
@@ -96,7 +96,7 @@ class Reporting(Statistics, Threaded, PullSource, Debuggable):
client.hostname, cdata,
lxml.etree.tostring(
stats,
- xml_declaration=False).decode('UTF-8'))
+ xml_declaration=False))
self.debug_log("%s: Queued statistics data for %s" %
(self.__class__.__name__, client.hostname))
return