Project

General

Profile

« Previous | Next » 

Revision 412d6215

Added by Mikaël Ates over 12 years ago

scripts: fix typo.

View differences:

scripts/check_double.py
18 18
                nb = same_acts.count()
19 19
                if nb > 1:
20 20
                    keep = None
21
                    for a in same_actes:
21
                    for a in same_acts:
22 22
                        state = a.get_state()
23
                        if state and state.name != 'NON_VALIDE' and a.validation_locked == True:
23
                        if state and state.state_name != 'NON_VALIDE' and a.validation_locked == True:
24 24
                            keep = a
25 25
                            break
26 26
                    if not keep:

Also available in: Unified diff