equal
deleted
inserted
replaced
268 result = default or [] |
268 result = default or [] |
269 if isinstance(result, basestring): |
269 if isinstance(result, basestring): |
270 result = result.replace(",", " ").split() |
270 result = result.replace(",", " ").split() |
271 return result |
271 return result |
272 |
272 |
273 def has_config(self, section, untrusted=False): |
273 def has_section(self, section, untrusted=False): |
274 '''tell whether section exists in config.''' |
274 '''tell whether section exists in config.''' |
275 cdata = self._get_cdata(untrusted) |
275 cdata = self._get_cdata(untrusted) |
276 return cdata.has_section(section) |
276 return cdata.has_section(section) |
277 |
277 |
278 def _configitems(self, section, untrusted, abort): |
278 def _configitems(self, section, untrusted, abort): |