Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed error introduced in r14512.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cae746e037fa4d9d3e043413433286276282664d 1 parent 4fb1825
Ramiro Morales authored November 11, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/backends/oracle/base.py
2  django/db/backends/oracle/base.py
@@ -349,7 +349,7 @@ def _valid_connection(self):
349 349
 
350 350
     def _connect_string(self):
351 351
         settings_dict = self.settings_dict
352  
-        if settings_dict['HOST'].strip():
  352
+        if not settings_dict['HOST'].strip():
353 353
             settings_dict['HOST'] = 'localhost'
354 354
         if settings_dict['PORT'].strip():
355 355
             dsn = Database.makedsn(settings_dict['HOST'],

0 notes on commit cae746e

Please sign in to comment.
Something went wrong with that request. Please try again.