Author: ramiro
Date: 2010-11-10 23:18:27 -0600 (Wed, 10 Nov 2010)
New Revision: 14515
Modified:
django/branches/releases/1.2.X/django/db/backends/oracle/base.py
Log:
[1.2.X] Fixed error introduced in r14512.
Backport of [14514] from trunk
Modified: django/branches/releases/1.2.X/django/db/backends/oracle/base.py
===================================================================
--- django/branches/releases/1.2.X/django/db/backends/oracle/base.py
2010-11-11 05:17:31 UTC (rev 14514)
+++ django/branches/releases/1.2.X/django/db/backends/oracle/base.py
2010-11-11 05:18:27 UTC (rev 14515)
@@ -346,7 +346,7 @@
def _connect_string(self):
settings_dict = self.settings_dict
- if settings_dict['HOST'].strip():
+ if not settings_dict['HOST'].strip():
settings_dict['HOST'] = 'localhost'
if settings_dict['PORT'].strip():
dsn = Database.makedsn(settings_dict['HOST'],
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.