def oozie_to_django_datetime(dt_string):
  try:
    return localize_input(datetime.strptime(dt_string, UTC_TIME_FORMAT))
  except ValueError:
    pass

  try:
    return localize_input(datetime.strptime(dt_string, GMT_TIME_FORMAT))
  except __HOLE__:
    pass

  return None
dataset/ETHPy150Open cloudera/hue/apps/oozie/src/oozie/utils.py/oozie_to_django_datetime