Projet

Général

Profil

0003-misc-remove-deprecated-providing_args-argument-of-Si.patch

Benjamin Dauvergne, 07 octobre 2022 15:26

Télécharger (897 octets)

Voir les différences:

Subject: [PATCH 3/3] misc: remove deprecated providing_args argument of Signal
 (#69992)

 src/django_rbac/signals.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
src/django_rbac/signals.py
1 1
from django import dispatch
2 2

  
3 3
# update role parenting transitive closure when role parenting is deleted
4
post_soft_create = dispatch.Signal(providing_args=['instance'])
5
post_soft_delete = dispatch.Signal(providing_args=['instance'])
4
# these signals expect one argument: instance
5
post_soft_create = dispatch.Signal()
6
post_soft_delete = dispatch.Signal()
6
-