def __call__(self, args, extra_args=None): repo = RepomanClient(config.host, config.port, config.proxy) try: image = repo.describe_image(args.image) display.describe_user(image, long=args.long) except RepomanError, e: print e sys.exit(1)
def __call__(self, args, extra_args=None): log = logging.getLogger('DescribeImage') log.debug("args: '%s' extra_args: '%s'" % (args, extra_args)) repo = RepomanClient(config.host, config.port, config.proxy) try: image = repo.describe_image(args.image) display.describe_user(image, long=args.long) except RepomanError, e: print e sys.exit(1)