Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed error introduced in r14512.

Backport of [14514] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 79ab8cad03847146029f9f686aedfbdc8168807d 1 parent 2778f14
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
@@ -346,7 +346,7 @@ def _valid_connection(self):
346 346
 
347 347
     def _connect_string(self):
348 348
         settings_dict = self.settings_dict
349  
-        if settings_dict['HOST'].strip():
  349
+        if not settings_dict['HOST'].strip():
350 350
             settings_dict['HOST'] = 'localhost'
351 351
         if settings_dict['PORT'].strip():
352 352
             dsn = Database.makedsn(settings_dict['HOST'],

0 notes on commit 79ab8ca

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