def _TestListOfStrings()

in config_parser.py [0:0]


def _TestListOfStrings(key, value):
  if not isinstance(value, list):
    raise Exception('Wrong type for key "%s", expecting list, got %s.' %
                    (key, type(value)))

  for element in value:
    if not isinstance(element, basestring):
      raise Exception("In %s, %s was not a string but %s" %
                      (key, k, type(k)))