Author: ramiro
Date: 2010-11-10 23:17:31 -0600 (Wed, 10 Nov 2010)
New Revision: 14514

Modified:
   django/trunk/django/db/backends/oracle/base.py
Log:
Fixed error introduced in r14512.

Modified: django/trunk/django/db/backends/oracle/base.py
===================================================================
--- django/trunk/django/db/backends/oracle/base.py      2010-11-11 05:12:05 UTC 
(rev 14513)
+++ django/trunk/django/db/backends/oracle/base.py      2010-11-11 05:17:31 UTC 
(rev 14514)
@@ -349,7 +349,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.

Reply via email to