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:
cc85dc6
)
More clear warning if sat clean do not suppress anything
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 27 Sep 2016 08:32:47 +0000
(10:32 +0200)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 27 Sep 2016 08:32:47 +0000
(10:32 +0200)
commands/clean.py
patch
|
blob
|
history
diff --git
a/commands/clean.py
b/commands/clean.py
index 9d7b05b0e402af61933ed18a28bf70b645a8c99a..29934b6c37250ad120c38c6d7e96432cad8cdb4a 100644
(file)
--- a/
commands/clean.py
+++ b/
commands/clean.py
@@
-166,6
+166,12
@@
def run(args, runner, logger):
if len(l_dir_to_suppress) == 0:
logger.write(src.printcolors.printcWarning(_("Nothing to suppress\n")))
+ logger.write(src.printcolors.printcWarning("\n"))
+ sat_command = (runner.cfg.VARS.salometoolsway +
+ runner.cfg.VARS.sep +
+ "sat -h clean")
+ logger.write(_("Please specify what you want to suppress: "
+ "tap \"%s\"\n" % sat_command))
return
# Check with the user if he really wants to suppress the directories