summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Probes.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-09-01 11:44:39 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-09-01 11:44:39 -0500
commitc9be23ce06c04286851383c968c6e075a4005b75 (patch)
tree340bc5e2649ea799a11215ab586117feb57616c6 /src/lib/Bcfg2/Server/Plugins/Probes.py
parentbb664680720acd69261e9e1c2b505c3c02bbbd05 (diff)
downloadbcfg2-c9be23ce06c04286851383c968c6e075a4005b75.tar.gz
bcfg2-c9be23ce06c04286851383c968c6e075a4005b75.tar.bz2
bcfg2-c9be23ce06c04286851383c968c6e075a4005b75.zip
Probes: Decode value for python 3
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Probes.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Probes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Probes.py b/src/lib/Bcfg2/Server/Plugins/Probes.py
index 010a69dd1..d9712e492 100644
--- a/src/lib/Bcfg2/Server/Plugins/Probes.py
+++ b/src/lib/Bcfg2/Server/Plugins/Probes.py
@@ -240,7 +240,7 @@ class XMLProbeStore(ProbeStore):
for probe in sorted(probedata):
lxml.etree.SubElement(
ctag, 'Probe', name=probe,
- value=self._datacache[client][probe])
+ value=self._datacache[client][probe].decode('utf-8'))
for group in sorted(self._groupcache[client]):
lxml.etree.SubElement(ctag, "Group", name=group)
try: