Correction
This commit is contained in:
parent
d65454165f
commit
ffb1b94144
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
# Nicolas Dandrimont <olasd@crans.org>
|
||||
# Valentin Samir <samir@crans.org>
|
||||
# Vincent Le Gallic <legallic@crans.org>
|
||||
# Pierre-Elliott Bécue <becue@crans.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
|
@ -160,7 +161,7 @@ class Attr(object):
|
|||
|
||||
def is_modifiable(self, liste_droits):
|
||||
"""
|
||||
Le droit est-il modifiable par un des droits dans liste_droits ?
|
||||
L'attribut est-il modifiable par un des droits dans liste_droits ?
|
||||
"""
|
||||
return set(liste_droits).isdisjoint(can_modify)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue