Ejemplo n.º 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 []
Ejemplo n.º 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 []
Ejemplo n.º 3
0
def yk_parse_arraystring(value):
    return filter(None, [strip_quotes(x).strip() for x in strip_comments(value)
                         .split(',')])
Ejemplo n.º 4
0
def yk_parse_arraystring(value):
    return filter(
        None,
        [strip_quotes(x).strip() for x in strip_comments(value).split(',')])