# HG changeset patch # User domruf # Date 1494450098 -7200 # Node ID 4188b49af031e698b111015b51304b180bd58f63 # Parent fb7f38e22730d25d0133258c6cd9f24df9ad1b00 ldap_sync: change create_repo_group to create_group Found by pylint. diff -r fb7f38e22730 -r 4188b49af031 kallithea/bin/ldap_sync.py --- a/kallithea/bin/ldap_sync.py Wed May 10 22:58:06 2017 +0200 +++ b/kallithea/bin/ldap_sync.py Wed May 10 23:01:38 2017 +0200 @@ -207,7 +207,7 @@ groups = self.ldap_client.get_groups() for group in groups: try: - self.kallithea_api.create_repo_group(group) + self.kallithea_api.create_group(group) added += 1 except Exception: existing += 1