def _ListToDictionary(lst, separator):
  """Splits each element of the passed-in |lst| using |separator| and creates
  dictionary treating first element of the split as the key and second as the
  value."""
  return dict(item.split(separator, 1) for item in lst)