Projet

Général

Profil

0007-to-fixup-remove-useless-comment.patch

Benjamin Dauvergne, 08 juin 2021 15:17

Télécharger (1001 octets)

Voir les différences:

Subject: [PATCH 7/9] to fixup: remove useless comment

 chrono/api/views.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
chrono/api/views.py
282 282
    if resources:
283 283
        q |= Q(resource__in=resources)
284 284
    for lock in (
285
        Lease.objects
286
        # only lock related to on of the agenda or the resource
287
        .filter(q)
288
        .exclude(lock_code=lock_code)
289
        .order_by('start_datetime', 'end_datetime')
285
        Lease.objects.filter(q).exclude(lock_code=lock_code).order_by('start_datetime', 'end_datetime')
290 286
    ):
291 287
        if lock.desk:
292 288
            desk_locked_intervals[lock.desk_id].add(lock.start_datetime, lock.end_datetime)
293
-