Tentative de suppression
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
diff --git usr/bin/importation_scribe usr/bin/importation_scribe
|
||||
index 0db4982..96023c1 100755
|
||||
index 0db4982..da2e69e 100755
|
||||
--- usr/bin/importation_scribe
|
||||
+++ usr/bin/importation_scribe
|
||||
@@ -42,21 +42,21 @@ choix de la source de données et imports
|
||||
@ -25,7 +25,7 @@ index 0db4982..96023c1 100755
|
||||
|
||||
class OutOfRange(Exception):
|
||||
""" Exception OutOfRange """
|
||||
@@ -458,33 +458,41 @@ class Console:
|
||||
@@ -458,33 +458,42 @@ class Console:
|
||||
"""
|
||||
log.add_lock()
|
||||
log.debuglog("Arrêt de LSC...", title=True)
|
||||
@ -54,9 +54,10 @@ index 0db4982..96023c1 100755
|
||||
+ logins = writer.write_enseignant(store=self.store, connexion=connexion,
|
||||
etab=etab)
|
||||
+ if SUPPORT_ETAB:
|
||||
+ print(logins)
|
||||
+ print(old_logins)
|
||||
+ print([login[0] for login in old_logins if login[1]['uid'] not in logins])
|
||||
+ old_dns = [login[0] for login in old_logins if login[1]['uid'] not in logins]
|
||||
+ print(old_dns)
|
||||
+ for old_dn in old_dns:
|
||||
+ connexion._delete(old_dn)
|
||||
+
|
||||
if self.data_type in ['sconet', 'aaf']:
|
||||
writer.write_service(store=self.store, connexion=connexion,
|
||||
|
Reference in New Issue
Block a user