예제 #1
0
파일: spec.py 프로젝트: skwerlman/entropy
 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
예제 #2
0
파일: spec.py 프로젝트: B-Rich/entropy
 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
예제 #3
0
파일: spec.py 프로젝트: skwerlman/entropy
 def ve_string_splitter(self, x):
     return convert_to_unicode(x).strip().split()
예제 #4
0
파일: spec.py 프로젝트: skwerlman/entropy
 def ve_string_stripper(self, x):
     return convert_to_unicode(x).strip()
예제 #5
0
파일: spec.py 프로젝트: skwerlman/entropy
 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()]
예제 #6
0
파일: spec.py 프로젝트: B-Rich/entropy
 def ve_string_splitter(self, x):
     return convert_to_unicode(x).strip().split()
예제 #7
0
파일: spec.py 프로젝트: B-Rich/entropy
 def ve_string_stripper(self, x):
     return convert_to_unicode(x).strip()
예제 #8
0
파일: spec.py 프로젝트: B-Rich/entropy
 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()]