Expose split arg from StrSeq in as_str_seq

This commit is contained in:
Johnny Robeson 2016-09-25 03:14:24 -04:00
parent 3db656a685
commit 1a8b20f354

View file

@ -407,11 +407,11 @@ class ConfigView(object):
"""
return self.get(Number())
def as_str_seq(self):
def as_str_seq(self, split=True):
"""Get the value as a sequence of strings. Equivalent to
`get(StrSeq())`.
"""
return self.get(StrSeq())
return self.get(StrSeq(split=split))
def as_str(self):
"""Get the value as a (Unicode) string. Equivalent to