(errors)
Log out and possibly reraise errors during import.
Log out and possibly reraise errors during import.
Log out and possibly reraise errors during import .
def _handle_errors(errors):
  """Log out and possibly reraise errors during import."""
  if not errors:
    return
  for name, err in errors:
    logging.warning("Module {} import failed: {}".format(name, err))
  logging.fatal("Please check these modules.")
def _handle_errors ( errors ) : if not errors : return for name , err in errors : logging . warning ( "Module {} import failed: {}" . format ( name , err ) ) logging . fatal ( "Please check these modules." )