Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/m/u/musdex-11.07.04/musdex/commands.py   musdex(Download)
# VCS routines for musdex
#
# Copyright 2010 Max Battcher. Some rights reserved.
# Licensed for use under the Ms-RL. See attached LICENSE file.
from config import BASEDIR, load_index, save_index, save_config
 
    save_config(args, config)
    save_index(config, index)
 
def remove(args, config):
 
    save_config(args, config)
    save_index(config, index)
 
def extract(args, config):
            if f != arcloc and f not in arcman: vcs.add_file(config, f)
 
    if index_updated: save_index(config, index)
 
def combine(args, config):
            os.remove(bakfilename)
 
    if index_updated: save_index(config, index)
 
# vim: ai et ts=4 sts=4 sw=4