diff options
| author | Shraddha Pandhe <shraddha.pandhe@yahoo.com> | 2013-12-11 15:51:40 -0800 | 
|---|---|---|
| committer | Shraddha Pandhe <shraddha.pandhe@yahoo.com> | 2013-12-11 15:51:40 -0800 | 
| commit | bce8220f1688af1e155661bfd57e73fe23c42522 (patch) | |
| tree | 02185139c77f77559420e9e8aba18d4e107c7557 | |
| parent | 7c6f2de4f7f66874d6c9131c04cb84637955e5ce (diff) | |
| download | vyos-cloud-init-bce8220f1688af1e155661bfd57e73fe23c42522.tar.gz vyos-cloud-init-bce8220f1688af1e155661bfd57e73fe23c42522.zip | |
Removed method _format_yaml
| -rw-r--r-- | cloudinit/config/cc_debug.py | 13 | 
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) | 
