def get_latest_status(self, now, log_file):
        data = self.get_default_data()
        for line in log_file.readlines():
            match = self.log_parser.match(line)
            if match:
                entry_datestr = match.group(1)
                entry_datetime = datetime.strptime(
                    '{0} {1}'.format(now.year, entry_datestr),
                    '%Y %b %d %H:%M:%S')
                diff_date = entry_datetime - now
                total_seconds = (
                    diff_date.seconds + diff_date.days * 24 * 3600)
                data['age'] = int(round(total_seconds / 60))
                data['actions'] = match.group(2)
                data['fatal'] = match.group(3)
                data['error'] = match.group(4)
                data['warning'] = match.group(5)

        return data
dataset/ETHPy150Open serverdensity/sd-agent-plugins/BackupNinja/BackupNinja.py/BackupNinja.get_latest_status/swapped operands of `-`