summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/client.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2006-07-21 18:15:02 +0000
committerJason Pellerin <jpellerin@gmail.com>2006-07-21 18:15:02 +0000
commit422aadfe2aea988927888b970fcce4e8ce492fac (patch)
tree7044d03417220c659eb18f7de54a1a5be65150b7 /django/db/backends/sqlite3/client.py
parente2385e3c535cc7f48200d8d0bd3fea61eafcb98e (diff)
[multi-db] Updated runshell() calls to accept settings.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/sqlite3/client.py')
-rw-r--r--django/db/backends/sqlite3/client.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/backends/sqlite3/client.py b/django/db/backends/sqlite3/client.py
index 097218341f..43978da0be 100644
--- a/django/db/backends/sqlite3/client.py
+++ b/django/db/backends/sqlite3/client.py
@@ -1,6 +1,5 @@
-from django.conf import settings
import os
-def runshell():
+def runshell(settings):
args = ['', settings.DATABASE_NAME]
os.execvp('sqlite3', args)