From df470825521bf780c2d83095ac0a3484ffa36cae Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 26 May 2020 13:52:37 +0200 Subject: [PATCH] Do not print warning on windows --- kiwixbuild/buildenv.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/kiwixbuild/buildenv.py b/kiwixbuild/buildenv.py index 4a05b0c..df20c33 100644 --- a/kiwixbuild/buildenv.py +++ b/kiwixbuild/buildenv.py @@ -37,15 +37,6 @@ class NeutralEnv: def detect_platform(self): _platform = platform.system() self.distname = _platform - 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.", - file=sys.stderr, - ) - cont = input("Do you want to continue ? [y/N]") - if cont.lower() != "y": - sys.exit(0) if _platform == "Linux": self.distname = distro.id() if self.distname == "ubuntu":