libcloud needs a byte string

This commit is contained in:
Thomas S Hatch 2012-06-21 22:12:30 -06:00
parent 83151363ee
commit 60ea16c63d

View File

@ -30,7 +30,7 @@ def os_script(os_, vm_=None, opts=None):
try:
with open(full, 'r') as fp_:
template = Template(fp_.read())
return template.render(opts=opts, vm=vm)
return str(template.render(opts=opts, vm=vm_))
except AttributeError:
# Specified renderer was not found
continue