Robert Schweikert has proposed merging ~rjschwei/cloud-init:propertypecheck
into cloud-init:master.
Requested reviews:
cloud init development team (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/305857
See commit comment
--
Your team cloud init development team is requested to review the proposed merge
of ~rjschwei/cloud-init:propertypecheck into cloud-init:master.
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 7c37eb8..30bdbd2 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -154,7 +154,7 @@ def target_path(target, path=None):
def decode_binary(blob, encoding='utf-8'):
# Converts a binary type into a text type using given encoding.
- if isinstance(blob, six.text_type):
+ if isinstance(blob, six.string_types):
return blob
return blob.decode(encoding)
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help : https://help.launchpad.net/ListHelp