summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_debug.py
diff options
context:
space:
mode:
authorShraddha Pandhe <shraddha.pandhe@yahoo.com>2013-12-11 15:51:40 -0800
committerShraddha Pandhe <shraddha.pandhe@yahoo.com>2013-12-11 15:51:40 -0800
commitbce8220f1688af1e155661bfd57e73fe23c42522 (patch)
tree02185139c77f77559420e9e8aba18d4e107c7557 /cloudinit/config/cc_debug.py
parent7c6f2de4f7f66874d6c9131c04cb84637955e5ce (diff)
downloadvyos-cloud-init-bce8220f1688af1e155661bfd57e73fe23c42522.tar.gz
vyos-cloud-init-bce8220f1688af1e155661bfd57e73fe23c42522.zip
Removed method _format_yaml
Diffstat (limited to 'cloudinit/config/cc_debug.py')
-rw-r--r--cloudinit/config/cc_debug.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/cloudinit/config/cc_debug.py b/cloudinit/config/cc_debug.py
index a3d99da8..971af71b 100644
--- a/cloudinit/config/cc_debug.py
+++ b/cloudinit/config/cc_debug.py
@@ -21,19 +21,6 @@ import copy
import yaml
-def _format_yaml(obj):
- try:
- formatted = yaml.safe_dump(obj,
- line_break="\n",
- indent=4,
- explicit_start=True,
- explicit_end=True,
- default_flow_style=False)
- return formatted.strip()
- except:
- return "???"
-
-
def _make_header(text):
header = StringIO()
header.write("-" * 80)