diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-21 17:21:42 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-21 17:21:42 -0400 |
commit | e436085271fc494bdfeaa66c42ab2b50ec783bec (patch) | |
tree | e372313a6c7f5a98d57c0c8239c501e1e6a9e8ff /src/sbin | |
parent | b08bf90dff32de73521c74a68968ef6525b72360 (diff) | |
download | bcfg2-e436085271fc494bdfeaa66c42ab2b50ec783bec.tar.gz bcfg2-e436085271fc494bdfeaa66c42ab2b50ec783bec.tar.bz2 bcfg2-e436085271fc494bdfeaa66c42ab2b50ec783bec.zip |
fixed xml stringification in core, bcfg2
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index b3b20eb78..3fbeb0a62 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -214,7 +214,7 @@ class Client: try: # upload probe responses proxy.RecvProbeData(Bcfg2.Client.XML.tostring(probedata, - encoding='unicode')) + xml_declaration=False).decode('UTF-8')) except Bcfg2.Proxy.ProxyError: err = sys.exc_info()[1] self.logger.error("Failed to upload probe data: %s" % err) @@ -313,7 +313,7 @@ class Client: try: proxy.RecvStats(Bcfg2.Client.XML.tostring(feedback, - encoding='unicode')) + xml_declaration=False).decode('UTF-8')) except Bcfg2.Proxy.ProxyError: err = sys.exc_info()[1] self.logger.error("Failed to upload configuration statistics: " |