]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
fix bug for 'sat log --clean'
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Fri, 18 Nov 2016 15:13:31 +0000 (16:13 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Fri, 18 Nov 2016 15:13:31 +0000 (16:13 +0100)
commands/log.py

index 83be78949e57ac4d2813532228e65ac4180c62f6..cff2d677e6a6aba952af9d5d4074e1d010f51eab 100644 (file)
@@ -162,7 +162,7 @@ def run(args, runner, logger):
             nbClean = nbLogFiles
         # Get the list to delete and do the removing
         lLogsToDelete = sorted(lLogs)[:nbClean]
-        for filePath, __, __, __, __, __ in lLogsToDelete:
+        for filePath, __, __, __, __, __, __ in lLogsToDelete:
             # remove the xml log file
             remove_log_file(filePath, logger)
             # remove also the corresponding txt file in OUT directory