Beispiel #1
0
 def read(self, content):
     block = self._get_block(content)
     if block:
         quoted = QUOTED_STRS.findall(strip_comments(block))
         return [strip_quotes(x) for x in quoted]
     else:
         return []
Beispiel #2
0
 def read(self, content):
     block = self._get_block(content)
     if block:
         quoted = QUOTED_STRS.findall(strip_comments(block))
         return [strip_quotes(x) for x in quoted]
     else:
         return []
Beispiel #3
0
def yk_parse_arraystring(value):
    return filter(None, [strip_quotes(x).strip() for x in strip_comments(value)
                         .split(',')])
Beispiel #4
0
def yk_parse_arraystring(value):
    return filter(
        None,
        [strip_quotes(x).strip() for x in strip_comments(value).split(',')])