summaryrefslogtreecommitdiff
path: root/cloudinit/user_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/user_data.py')
-rw-r--r--cloudinit/user_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py
index b11894ce..77f95abb 100644
--- a/cloudinit/user_data.py
+++ b/cloudinit/user_data.py
@@ -239,7 +239,7 @@ class UserDataProcessor(object):
if include_once_on and resp.ok():
util.write_file(include_once_fn, resp, mode=0o600)
if resp.ok():
- content = str(resp)
+ content = resp
else:
LOG.warn(("Fetching from %s resulted in"
" a invalid http code of %s"),