def _checkLogForError(self, log):
    lines = re.split('[\\n]\\s*', log)
    for line in lines:
        if line[self.sas.logoffset:].startswith('ERROR'):
            return (False, line)
    return (True, '')
def _checkLogForError(self, log):
    lines = re.split('[\\n]\\s*', log)
    for line in lines:
        if line[self.sas.logoffset:].startswith('ERROR'):
            return (False, line)
    return (True, )