diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-09-01 11:44:39 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-09-01 11:44:39 -0500 |
commit | c9be23ce06c04286851383c968c6e075a4005b75 (patch) | |
tree | 340bc5e2649ea799a11215ab586117feb57616c6 /src/lib/Bcfg2/Server/Plugins/Probes.py | |
parent | bb664680720acd69261e9e1c2b505c3c02bbbd05 (diff) | |
download | bcfg2-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.py | 2 |
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: |