Esempio n. 1
0
def save_cfg(cfg, suffix):
    with open(cfg.filename + suffix, "w") as out:
        p = CFGPrinter(cfg, out)
        p.print()
Esempio n. 2
0
def dump(cfg):
    CFGPrinter(cfg).print()
Esempio n. 3
0
def save_cfg(cfg, suffix):
    with open(cfg.filename + suffix, "w") as out:
        p = CFGPrinter(cfg, out)
        p.print()