From 6a386accc5595500820a99e083f827bfd7bfb106 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Sun, 7 Feb 2016 15:14:57 +0200 Subject: [PATCH] setup: Use `subprocess.check_call()` It's available since Python 2.5, so it's safe for our use. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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( -- 2.47.2