[travis] cas_server/models.py:392:17: W503 line break before binary operator
This commit is contained in:
parent
70d091fe11
commit
a3a5979660
1 changed files with 2 additions and 2 deletions
|
@ -388,8 +388,8 @@ class Ticket(models.Model):
|
|||
(
|
||||
Q(single_log_out=False) & Q(validate=True)
|
||||
) | (
|
||||
Q(validate=False)
|
||||
& Q(creation__lt=(timezone.now() - timedelta(seconds=cls.VALIDITY)))
|
||||
Q(validate=False) &
|
||||
Q(creation__lt=(timezone.now() - timedelta(seconds=cls.VALIDITY)))
|
||||
)
|
||||
).delete()
|
||||
|
||||
|
|
Loading…
Reference in a new issue