summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb@kaidan.im>2024-05-24 22:38:04 +0200
committerJonah BrĂ¼chert <jbb@kaidan.im>2024-05-24 22:38:04 +0200
commitb891122b6526ac7f19b4ac4303370bc60d527891 (patch)
tree715940723f68162ec6f83d0004ea6094ae4c1c1b
parentb98a41d27100265bbb3dac392c9260889ed16d85 (diff)
downloadbcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.tar.gz
bcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.tar.bz2
bcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.zip
Fix writing property files
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Properties.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Properties.py b/src/lib/Bcfg2/Server/Plugins/Properties.py
index 2ea383249..7725d05e8 100644
--- a/src/lib/Bcfg2/Server/Plugins/Properties.py
+++ b/src/lib/Bcfg2/Server/Plugins/Properties.py
@@ -183,7 +183,7 @@ class XMLPropertyFile(Bcfg2.Server.Plugin.StructFile, PropertyFile):
open(self.name, "wb").write(
lxml.etree.tostring(self.xdata,
xml_declaration=False,
- pretty_print=True).decode('UTF-8'))
+ pretty_print=True))
return True
def validate_data(self):