Bout de code mort

This commit is contained in:
Pierre-Elliott Bécue 2015-09-20 18:47:59 +02:00
parent 4624363443
commit c653f97c03

View file

@ -378,8 +378,6 @@ if __name__ == '__main__':
PARSER.add_argument("-l", "--last", help="Date de début, dans un format compréhensible par postgresql (\"AAAA/MM/JJ HH:MM:SS\" fonctionne bien)", type=str, action="store") PARSER.add_argument("-l", "--last", help="Date de début, dans un format compréhensible par postgresql (\"AAAA/MM/JJ HH:MM:SS\" fonctionne bien)", type=str, action="store")
PARSER.add_argument("-h", "--help", help="Affiche cette aide et quitte.", action="store_true") PARSER.add_argument("-h", "--help", help="Affiche cette aide et quitte.", action="store_true")
MEG = PARSER.add_mutually_exclusive_group()
ARGS = PARSER.parse_args() ARGS = PARSER.parse_args()
LDAP = shortcuts.lc_ldap_admin() LDAP = shortcuts.lc_ldap_admin()
if not set([attributs.tresorier, attributs.nounou, attributs.bureau]).intersection(LDAP.droits): if not set([attributs.tresorier, attributs.nounou, attributs.bureau]).intersection(LDAP.droits):