Projet

Général

Profil

Révision f776b7e0

IDf776b7e04fcba70ad76afc8978db45b826e9663a
Parent 8713eb37
Enfant 5215545c

Ajouté par Lars Kruse il y a plus de 5 ans

Fix spelling mistakes in variable names

Thanks, codespell!

Voir les différences:

plugins/zope/zope_conflict_errors
46 46
        log = logs[i]
47 47
        error_count = 0
48 48
        for line in file(log):
49
            splitted = line.split()
50
            if 'ConflictError' in splitted:
51
                logdate = datetime(*time.strptime(splitted[0], date_format)[:-3])
49
            tokens = line.split()
50
            if 'ConflictError' in tokens:
51
                logdate = datetime(*time.strptime(tokens[0], date_format)[:-3])
52 52
                delta = datetime.now() - logdate
53 53
                if delta.days >= 1:
54 54
                    continue

Formats disponibles : Unified diff