mirror of
https://github.com/django/django.git
synced 2025-03-10 09:22:46 +00:00
Refs #31692 -- Fixed compilemessages crash on Windows with Python < 3.8.
Regression in ed0a040773f5bad187170ab4e3b094fe3108d702. See https://bugs.python.org/issue31961
This commit is contained in:
parent
cc7c16af98
commit
02ea98bc2f
@ -154,7 +154,9 @@ class Command(BaseCommand):
|
|||||||
self.has_errors = True
|
self.has_errors = True
|
||||||
return
|
return
|
||||||
|
|
||||||
args = [self.program, *self.program_options, '-o', mo_path, po_path]
|
# PY37: Remove str() when dropping support for PY37.
|
||||||
|
# https://bugs.python.org/issue31961
|
||||||
|
args = [self.program, *self.program_options, '-o', str(mo_path), str(po_path)]
|
||||||
futures.append(executor.submit(popen_wrapper, args))
|
futures.append(executor.submit(popen_wrapper, args))
|
||||||
|
|
||||||
for future in concurrent.futures.as_completed(futures):
|
for future in concurrent.futures.as_completed(futures):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user