def _ParseCronYaml():
 cronyaml_files = ('cron.yaml', 'cron.yml')
 for cronyaml in cronyaml_files:
  try:
   fh = open(cronyaml, 'r')
  except IOError:
   continue
  try:
   cron_info = croninfo.LoadSingleCron(fh)
   return cron_info
  finally:
   fh.close()
 return None

def _ParseCronYaml ( ) : cronyaml_files = ( 'cron.yaml' , 'cron.yml' ) for cronyaml in cronyaml_files : try : fh = open ( cronyaml , 'r' ) except IOError : continue try : cron_info = croninfo . LoadSingleCron ( fh ) return cron_info finally : fh . close ( ) return None
loads the cron .