Don't mark "can't clean" messages from setup.py clean as error
Might confuse users to see that marked up like an error when it's perfectly normal for some kinds of installs simply because the specific build folders never were created in the first place.
This commit is contained in:
parent
b38884db63
commit
6e793c2ba3
1 changed files with 4 additions and 1 deletions
|
|
@ -705,7 +705,10 @@ $(function() {
|
|||
}
|
||||
};
|
||||
|
||||
self._forcedStdoutLine = /You are using pip version .*?, however version .*? is available\.|You should consider upgrading via the '.*?' command\./;
|
||||
self._forcedStdoutPatterns = ["You are using pip version .*?, however version .*? is available\.",
|
||||
"You should consider upgrading via the '.*?' command\.",
|
||||
"'.*?' does not exist -- can't clean it"];
|
||||
self._forcedStdoutLine = new RegExp(self._forcedStdoutPatterns.join("|"));
|
||||
self._preprocessLine = function(line) {
|
||||
if (line.stream == "stderr" && line.line.match(self._forcedStdoutLine)) {
|
||||
line.stream = "stdout";
|
||||
|
|
|
|||
Loading…
Reference in a new issue