summaryrefslogtreecommitdiff
path: root/django/core/management
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-19 08:35:16 +0100
committerCarlton Gibson <carlton@noumenal.es>2021-02-10 10:20:54 +0100
commitec0ff406311de88f4e2a135d784363424fe602aa (patch)
treec1659b85ea145704a1b733d40a6a9a45e9332d0f /django/core/management
parent9c6ba876928fd20194ac3238dc06aeae66d7bd50 (diff)
Fixed #32355 -- Dropped support for Python 3.6 and 3.7
Diffstat (limited to 'django/core/management')
-rw-r--r--django/core/management/commands/compilemessages.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/django/core/management/commands/compilemessages.py b/django/core/management/commands/compilemessages.py
index cad24f8140..308fa8831b 100644
--- a/django/core/management/commands/compilemessages.py
+++ b/django/core/management/commands/compilemessages.py
@@ -154,9 +154,7 @@ class Command(BaseCommand):
self.has_errors = True
return
- # 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)]
+ args = [self.program, *self.program_options, '-o', mo_path, po_path]
futures.append(executor.submit(popen_wrapper, args))
for future in concurrent.futures.as_completed(futures):