diff --git a/kiwixbuild/buildenv.py b/kiwixbuild/buildenv.py index 50552b2..1f9f98d 100644 --- a/kiwixbuild/buildenv.py +++ b/kiwixbuild/buildenv.py @@ -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())] diff --git a/kiwixbuild/configs/base.py b/kiwixbuild/configs/base.py index 883f1f7..21049d5 100644 --- a/kiwixbuild/configs/base.py +++ b/kiwixbuild/configs/base.py @@ -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: