def __call__(self, args, extra_args=None): log = logging.getLogger('UploadImage') log.debug("args: '%s' extra_args: '%s'" % (args, extra_args)) repo = RepomanClient(config.host, config.port, config.proxy) try: ######################### sign(args.file, args.sign) ######################### repo.upload_image(args.image, args.file) except RepomanError, e: print e sys.exit(1)
def __call__(self, args, extra_args=None): log = logging.getLogger("UploadImage") log.debug("args: '%s' extra_args: '%s'" % (args, extra_args)) repo = RepomanClient(config.host, config.port, config.proxy) try: ######################### sign(args.file, args.sign) ######################### repo.upload_image(args.image, args.file) except RepomanError, e: print e sys.exit(1)
def __call__(self, args, extra_args=None): sign(args.target,args.key)
def __call__(self, args, extra_args=None): sign(args.target, args.key)