Skip to content

Commit

Permalink
setup: Use subprocess.check_call()
Browse files Browse the repository at this point in the history
It's available since Python 2.5, so it's safe for our use.
  • Loading branch information
akx committed Feb 7, 2016
1 parent b02eab1 commit 6a386ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def finalize_options(self):
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(
Expand Down

0 comments on commit 6a386ac

Please sign in to comment.