'Strip comments from C{lines}.
@param lines: lines to work on
@type lines: iterable of L{bytes}
@return: C{lines} sans comments.'

def stripComments(self, lines):

    return ((((a.find(';') == (-1)) and a) or a[:a.find(';')]) for a in [b.strip() for b in lines])
