def get_os_name_from_eol_chars(eol_chars):
 for (chars, os_name) in EOL_CHARS:
  if (eol_chars == chars):
   return os_name

def get_os_name_from_eol_chars ( eol_chars ) : for ( chars , os_name ) in EOL_CHARS : if ( eol_chars == chars ) : return os_name
return os name from eol characters .