Commit dab9e278 by Jérome Perrin

testnode: python3 support

pkg_resources.resource_string reads the file as binary, if we want to
substitute in this string we need to decode it.
parent b58aeb23
......@@ -220,7 +220,7 @@ class SlapOSControler(object):
with open(self.slapos_config, 'w') as f:
'erp5.util.testnode', 'template/') %
'erp5.util.testnode', 'template/').decode() %
# By erasing everything, we make sure that we are able to "update"
# existing profiles. This is quite dirty way to do updates...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment