diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-24 22:38:04 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-24 22:38:04 +0200 |
commit | b891122b6526ac7f19b4ac4303370bc60d527891 (patch) | |
tree | 715940723f68162ec6f83d0004ea6094ae4c1c1b /src/lib/Bcfg2/Server/Plugins/Properties.py | |
parent | b98a41d27100265bbb3dac392c9260889ed16d85 (diff) | |
download | bcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.tar.gz bcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.tar.bz2 bcfg2-b891122b6526ac7f19b4ac4303370bc60d527891.zip |
Fix writing property files
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Properties.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Properties.py | 2 |
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): |