Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/a/r/Archiver-0.2.2/archiver/command.py   Archiver(Download)
from commandtool import Cmd, LoggingCmd, handle_command
from configconvert.internal import eval_import
from archiver.api import make_batch, merge, sizeof_fmt, migrate, extract, numof_fmt, compare
 
log = logging.getLogger(__name__)
            if not os.path.exists(cmd.opts.store):
                cmd.out("The source store directory %r is not present, creating it.", cmd.opts.store)
            cmd['batch'] = make_batch(cmd.opts.store)
        return 0
 
    def run(self, cmd):
        if not hasattr(cmd, 'batch'):
            cmd.out('ERROR: No store specified')
            return 1
        other = make_batch(cmd.args[0])