mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix DepreciationWarning
This commit is contained in:
parent
72e4a584ed
commit
3b35f61028
1 changed files with 1 additions and 1 deletions
|
@ -1205,7 +1205,7 @@ class Migration(object):
|
|||
try:
|
||||
run(self, backup_folder)
|
||||
except Exception:
|
||||
logger.warn(m18n.n("migration_ldap_migration_failed_trying_to_rollback"))
|
||||
logger.warning(m18n.n("migration_ldap_migration_failed_trying_to_rollback"))
|
||||
os.system("systemctl stop slapd")
|
||||
# To be sure that we don't keep some part of the old config
|
||||
os.system("rm -r /etc/ldap/slapd.d")
|
||||
|
|
Loading…
Add table
Reference in a new issue