def setopt(self, options):
        try:
            if options['--procs'] != 'auto':
                self.nprocs = int(options['--procs'])
        except __HOLE__:
            print "error: illegal value for 'procs' parameter."
            raise
        if options['--test']:
            self.sandbox = True
dataset/ETHPy150Open longaccess/longaccess-client/lacli/command.py/LaArchiveCommand.setopt