# HG changeset patch # User domruf # Date 2017-05-10 23:01:38 # Node ID 4188b49af031e698b111015b51304b180bd58f63 # Parent fb7f38e22730d25d0133258c6cd9f24df9ad1b00 ldap_sync: change create_repo_group to create_group Found by pylint. diff --git a/kallithea/bin/ldap_sync.py b/kallithea/bin/ldap_sync.py --- a/kallithea/bin/ldap_sync.py +++ b/kallithea/bin/ldap_sync.py @@ -207,7 +207,7 @@ class LdapSync(object): 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