def pythonize(self, val): if isinstance(val, list): return [s.strip() for s in list_split(val, self.split_on_coma)] else: return [s.strip() for s in to_split(val, self.split_on_coma)]
def pythonize(self, val): if isinstance(val, list): return list_split(val, self.split_on_coma) else: return to_split(val, self.split_on_coma)