diff options
author | Étienne BERSAC <bersace03@gmail.com> | 2016-06-27 18:20:40 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-06-27 12:20:40 -0400 |
commit | 03f6d272abe12a0d5c915253efb5de99583d2413 (patch) | |
tree | 6a743b7534319f996193dab42c2e775832493403 /django/db/backends/postgresql/client.py | |
parent | d47f6d75ef67dbd18abf2bb927753f739a9c117d (diff) | |
download | django-03f6d272abe12a0d5c915253efb5de99583d2413.tar.gz |
Fixed #26751 -- Made dbshell exit with the shell's error code.
Diffstat (limited to 'django/db/backends/postgresql/client.py')
-rw-r--r-- | django/db/backends/postgresql/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py index 1b4b884c60..dd3d40c064 100644 --- a/django/db/backends/postgresql/client.py +++ b/django/db/backends/postgresql/client.py @@ -55,7 +55,7 @@ class DatabaseClient(BaseDatabaseClient): # If the current locale can't encode the data, we let # the user input the password manually. pass - subprocess.call(args) + subprocess.check_call(args) finally: if temp_pgpass: temp_pgpass.close() |