Exemplo n.º 1
0
 def __call__(self, args, extra_args=None):
     repo = RepomanClient(config.host, config.port, config.proxy)
     try:
         group = repo.describe_group(args.group)
         display.describe_group(group, long=args.long)
     except RepomanError, e:
         print e
         sys.exit(1)
Exemplo n.º 2
0
 def __call__(self, args, extra_args=None):
     log = logging.getLogger('DescribeGroup')
     log.debug("args: '%s' extra_args: '%s'" % (args, extra_args))
     
     repo = RepomanClient(config.host, config.port, config.proxy)
     try:
         group = repo.describe_group(args.group)
         display.describe_group(group, long=args.long)
     except RepomanError, e:
         print e
         sys.exit(1)