From: Aarni Koskela Date: Sun, 7 Feb 2016 13:14:57 +0000 (+0200) Subject: setup: Use `subprocess.check_call()` X-Git-Tag: 2.3.1~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a386accc5595500820a99e083f827bfd7bfb106;p=thirdparty%2Fbabel.git setup: Use `subprocess.check_call()` It's available since Python 2.5, so it's safe for our use. --- diff --git a/setup.py b/setup.py index 222c97eb..73cc0c49 100755 --- a/setup.py +++ b/setup.py @@ -24,8 +24,7 @@ class import_cldr(Command): pass def run(self): - c = subprocess.Popen([sys.executable, 'scripts/download_import_cldr.py']) - c.wait() + subprocess.check_call([sys.executable, 'scripts/download_import_cldr.py']) setup(