def ParseLogs(logs):
 return [ParseLogEntry(line) for line in logs.split('\n') if line]

def ParseLogs ( logs ) : return [ ParseLogEntry ( line ) for line in logs . split ( '\n' ) if line ]
parses a str containing newline separated log entries .