Ticket #9972: client.py.diff
File client.py.diff, 695 bytes (added by , 16 years ago) |
---|
-
django/db/backends/oracle/client.py
9 9 dsn = settings.DATABASE_USER 10 10 if settings.DATABASE_PASSWORD: 11 11 dsn += "/%s" % settings.DATABASE_PASSWORD 12 if settings.DATABASE_HOST: 13 dsn += "@//%s" % settings.DATABASE_HOST 12 14 if settings.DATABASE_NAME: 13 dsn += " @%s" % settings.DATABASE_NAME15 dsn += "/%s" % settings.DATABASE_NAME 14 16 args = [self.executable_name, "-L", dsn] 15 17 os.execvp(self.executable_name, args)