pnijhara / gitsome

Consider using a set comprehension PYL-R1718
Performance
Major
4 years ago4 years old
Consider using a set comprehension
381    if "-o noquote" not in complete_stmt:
382        out, need_quotes = quote_paths(out, "", "")
383    if "-o nospace" in complete_stmt:
384        out = set([x.rstrip() for x in out])385
386    return out, max(len(prefix) - strip_len, 0)
387