changeset 6648:4188b49af031

ldap_sync: change create_repo_group to create_group Found by pylint.
author domruf <dominikruf@gmail.com>
date Wed, 10 May 2017 23:01:38 +0200
parents fb7f38e22730
children a9b169709aea
files kallithea/bin/ldap_sync.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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