← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~jmelvin/cloud-init:my-topic-branch into cloud-init:master

 

hi, i think what you want is this;
 http://paste.ubuntu.com/24152971/

that will basically dump the bytes string from the url into the file.
where as what you have there will go through utf decode in the str(content) path.

the end result is that if there was something that was not utf-8 you'd raise an exception.

-- 
https://code.launchpad.net/~jmelvin/cloud-init/+git/cloud-init/+merge/317229
Your team cloud init development team is requested to review the proposed merge of ~jmelvin/cloud-init:my-topic-branch into cloud-init:master.


References