~harlowja/cloud-init/write-files-fetch-from-somewhere

Viewing all changes in revision 1091.

  • Committer: Joshua Harlow
  • Date: 2015-03-31 19:23:48 UTC
  • Revision ID: harlowja@yahoo-inc.com-20150331192348-cqqahf1h24v29yit
Fix reading of files for py3.x

util.read_file_or_url needs to have a __str__ that
returns the right type for py3.x; so make sure that if
binary data is read that it is decoded.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: