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