summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/client.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2019-08-23 10:53:36 +0200
committerCarlton Gibson <carlton.gibson@noumenal.es>2019-08-23 10:53:36 +0200
commit9386586f31b8a0bccf59a1bff647cd829d4e79aa (patch)
treef28bf4c9b8b0a1431c1b6722f9d5bb613d78040f /django/db/backends/sqlite3/client.py
parent7bd963332017eace00be8caf7dc1b7b304da613a (diff)
Replaced subprocess commands by run() wherever possible.
Diffstat (limited to 'django/db/backends/sqlite3/client.py')
-rw-r--r--django/db/backends/sqlite3/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/client.py b/django/db/backends/sqlite3/client.py
index 0c490ea587..485d540188 100644
--- a/django/db/backends/sqlite3/client.py
+++ b/django/db/backends/sqlite3/client.py
@@ -9,4 +9,4 @@ class DatabaseClient(BaseDatabaseClient):
def runshell(self):
args = [self.executable_name,
self.connection.settings_dict['NAME']]
- subprocess.check_call(args)
+ subprocess.run(args, check=True)