1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Fixed #34535 -- Fixed SQLite dbshell crash on pathlib.Path when handling CommandError.

Regression in 5b884d45ac.
This commit is contained in:
Jan Pieter Waagmeester
2023-05-03 14:24:45 +02:00
committed by Mariusz Felisiak
parent 49830025c9
commit f5b39b77e3
2 changed files with 20 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class Command(BaseCommand):
raise CommandError(
'"%s" returned non-zero exit status %s.'
% (
" ".join(e.cmd),
" ".join(map(str, e.cmd)),
e.returncode,
),
returncode=e.returncode,