Ignore:
Timestamp:
Jul 30, 2008, 10:13:02 PM (16 years ago)
Author:
price
Message:

use yaml.CSafeDumper and yaml.CSafeLoader everywhere

also break some long lines to fit in 80 columns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-base/files/usr/sbin/invirt-getconf

    r789 r796  
    8080            else:
    8181                import yaml
    82                 yaml.safe_dump(conf, stdout, default_flow_style=False)
     82                yaml.dump(conf, stdout,
     83                          Dumper=yaml.CSafeDumper, default_flow_style=False)
    8384    except invirt_exception, ex:
    8485        print >> stderr, ex
Note: See TracChangeset for help on using the changeset viewer.