def sync_overlay(name):
 layman = init_layman()
 if (not layman.sync(name)):
  messages = [str(item[1]) for item in layman.sync_results[2]]
  raise ModuleError(messages)

def sync_overlay ( name ) : layman = init_layman ( ) if ( not layman . sync ( name ) ) : messages = [ str ( item [ 1 ] ) for item in layman . sync_results [ 2 ] ] raise ModuleError ( messages )
synchronizes the specified overlay repository .