Example #1
0
 def valid_comma_sep_list_list(self, input_str):
     parts = []
     for part in convert_to_unicode(input_str).split(","):
         part = part.strip()
         # do not filter out empty elements
         parts.append(part.split())
     return parts
Example #2
0
 def valid_comma_sep_list_list(self, input_str):
     parts = []
     for part in convert_to_unicode(input_str).split(","):
         part = part.strip()
         # do not filter out empty elements
         parts.append(part.split())
     return parts
Example #3
0
 def ve_string_splitter(self, x):
     return convert_to_unicode(x).strip().split()
Example #4
0
 def ve_string_stripper(self, x):
     return convert_to_unicode(x).strip()
Example #5
0
 def valid_path_list(self, x):
     return [y.strip() for y in \
         convert_to_unicode(x).split(",") if \
             self.valid_path_string(y) and y.strip()]
Example #6
0
 def ve_string_splitter(self, x):
     return convert_to_unicode(x).strip().split()
Example #7
0
 def ve_string_stripper(self, x):
     return convert_to_unicode(x).strip()
Example #8
0
 def valid_path_list(self, x):
     return [y.strip() for y in \
         convert_to_unicode(x).split(",") if \
             self.valid_path_string(y) and y.strip()]