Correction

This commit is contained in:
Pierre-Elliott Bécue 2013-01-21 00:48:12 +01:00
parent d65454165f
commit ffb1b94144

View file

@ -8,6 +8,7 @@
# Nicolas Dandrimont <olasd@crans.org> # Nicolas Dandrimont <olasd@crans.org>
# Valentin Samir <samir@crans.org> # Valentin Samir <samir@crans.org>
# Vincent Le Gallic <legallic@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 # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: # modification, are permitted provided that the following conditions are met:
@ -160,7 +161,7 @@ class Attr(object):
def is_modifiable(self, liste_droits): 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) return set(liste_droits).isdisjoint(can_modify)