summaryrefslogtreecommitdiff
path: root/cloudinit/safeyaml.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-09-28 16:35:53 -0400
committerScott Moser <smoser@ubuntu.com>2012-09-28 16:35:53 -0400
commitf1e3ae3c49b9424a7e3cdbf835651720cc60e143 (patch)
tree08020414a4bf3150d6be7a58e4b96f45dd365071 /cloudinit/safeyaml.py
parenta7a9de1a079a70f5c8290ab5158661d3a33e5552 (diff)
downloadvyos-cloud-init-f1e3ae3c49b9424a7e3cdbf835651720cc60e143.tar.gz
vyos-cloud-init-f1e3ae3c49b9424a7e3cdbf835651720cc60e143.zip
fix pep8 and pylint
Diffstat (limited to 'cloudinit/safeyaml.py')
-rw-r--r--cloudinit/safeyaml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/safeyaml.py b/cloudinit/safeyaml.py
index 8b4da1fa..eba5d056 100644
--- a/cloudinit/safeyaml.py
+++ b/cloudinit/safeyaml.py
@@ -27,5 +27,6 @@ _CustomSafeLoader.add_constructor(
u'tag:yaml.org,2002:python/unicode',
_CustomSafeLoader.construct_python_unicode)
+
def load(blob):
return(yaml.load(blob, Loader=_CustomSafeLoader))