diff -r 8d941af65caf -r 77b6da96e6f1 web/lib/django/db/backends/sqlite3/client.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/django/db/backends/sqlite3/client.py Wed Jun 02 18:57:35 2010 +0200 @@ -0,0 +1,16 @@ +import os +import sys + +from django.db.backends import BaseDatabaseClient + +class DatabaseClient(BaseDatabaseClient): + executable_name = 'sqlite3' + + def runshell(self): + args = [self.executable_name, + self.connection.settings_dict['NAME']] + if os.name == 'nt': + sys.exit(os.system(" ".join(args))) + else: + os.execvp(self.executable_name, args) +