Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a0f33
)
fix bug for 'sat log --clean'
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Fri, 18 Nov 2016 15:13:31 +0000
(16:13 +0100)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Fri, 18 Nov 2016 15:13:31 +0000
(16:13 +0100)
commands/log.py
patch
|
blob
|
history
diff --git
a/commands/log.py
b/commands/log.py
index 83be78949e57ac4d2813532228e65ac4180c62f6..cff2d677e6a6aba952af9d5d4074e1d010f51eab 100644
(file)
--- 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