~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/db/backends/sqlite3/client.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import os
4
4
 
5
5
class DatabaseClient(BaseDatabaseClient):
 
6
    executable_name = 'sqlite3'
 
7
 
6
8
    def runshell(self):
7
9
        args = ['', settings.DATABASE_NAME]
8
 
        os.execvp('sqlite3', args)
 
10
        os.execvp(self.executable_name, args)