def groupinstall(group, options=None):
 manager = MANAGER
 if (options is None):
  options = []
 elif isinstance(options, str):
  options = [options]
 options = ' '.join(options)
 run_as_root(('%(manager)s %(options)s groupinstall "%(group)s"' % locals()), pty=False)

def groupinstall ( group , options = None ) : manager = MANAGER if ( options is None ) : options = [ ] elif isinstance ( options , str ) : options = [ options ] options = ' ' . join ( options ) run_as_root ( ( '%(manager)s %(options)s groupinstall "%(group)s"' % locals ( ) ) , pty = False )
install a group of packages .