Commit graph

111 commits

Author SHA1 Message Date
Benjamin Renard
b9ba720798 LdapClient: fix get_object_by_dn() and get_object_by_dn() methods when populate cache method return no objects 2021-06-03 12:26:19 +02:00
Benjamin Renard
6e85515420 Add missing __init__.py file for mylib.scripts 2021-06-02 19:16:11 +02:00
Benjamin Renard
a325803130 Add LdapClient 2021-06-02 18:59:09 +02:00
Benjamin Renard
1cd9432e25 email options: remove short options to avoid conflict 2021-05-26 15:13:15 +02:00
Benjamin Renard
5bdfc8479d Fix some pylint warnings 2021-05-26 14:44:30 +02:00
Benjamin Renard
b2d33e3ddf mylib.scripts.helpers: add possibility to specify config dict to handle default option values 2021-05-26 14:44:15 +02:00
Benjamin Renard
51a4d35823 Add some pretty formating helper functions 2021-05-26 11:56:45 +02:00
Benjamin Renard
45f088fa2b scripts.helpers: improve get_opts_parser() 2021-05-26 11:56:02 +02:00
Benjamin Renard
f44006535b ldap: format_date & parse_date: consider naive date as default 2021-05-26 11:55:16 +02:00
Benjamin Renard
6bbacce38a Code cleaning 2021-05-19 19:19:57 +02:00
Benjamin Renard
bd4845f780 Switch to module style lib, make python3 compatibility and clean code 2021-05-19 18:07:42 +02:00