From: Serge Rehbinder Date: Fri, 18 Nov 2016 15:13:31 +0000 (+0100) Subject: fix bug for 'sat log --clean' X-Git-Tag: 5.0.0a1~38^2~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e66687316507447a45001ce42dd9c8cf4e75387a;p=tools%2Fsat.git fix bug for 'sat log --clean' --- diff --git a/commands/log.py b/commands/log.py index 83be789..cff2d67 100644 --- a/commands/log.py +++ b/commands/log.py @@ -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