Do not pollute stdout with warning and trace.
This commit is contained in:
parent
afda1f6673
commit
6fbe60386e
|
@ -36,7 +36,8 @@ class NeutralEnv:
|
|||
if _platform == "Windows":
|
||||
print(
|
||||
"ERROR: kiwix-build is not intented to run on Windows platform.\n"
|
||||
"It should probably not work, but well, you still can have a try."
|
||||
"It should probably not work, but well, you still can have a try.",
|
||||
file=sys.stderr,
|
||||
)
|
||||
cont = input("Do you want to continue ? [y/N]")
|
||||
if cont.lower() != "y":
|
||||
|
@ -70,7 +71,7 @@ class NeutralEnv:
|
|||
if required:
|
||||
sys.exit("ERROR: {} command not found".format(name))
|
||||
else:
|
||||
print("WARNING: {} command not found".format(name))
|
||||
print("WARNING: {} command not found".format(name), file=sys.stderr)
|
||||
return ["{}_NOT_FOUND".format(name.upper())]
|
||||
|
||||
|
||||
|
|
|
@ -135,7 +135,6 @@ def MixedMixin(static_name):
|
|||
static = False
|
||||
|
||||
def add_targets(self, targetName, targets):
|
||||
print(targetName)
|
||||
if option("target") == targetName:
|
||||
return super().add_targets(targetName, targets)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue