Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
processing: fix interpretation of oracle layers (take II; followup f0…
  • Loading branch information
jef-n committed May 12, 2015
1 parent d855eab commit 31843a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/gdal/OgrAlgorithm.py
Expand Up @@ -83,14 +83,14 @@ def ogrConnectionString(self, uri):
if dsUri.username() != "":
ogrstr += dsUri.username()
if dsUri.password() != "":
ogr += "/" + dsUri.password()
ogrstr += "/" + dsUri.password()
delim = "@"

if dsUri.host() != "":
ogrstr += delim + dsUri.host()
delim = ""
if dsUri.port() != "" and dsUri.port() != 1521:
ogrstr += ":%d" % dsUri.port()
if dsUri.port() != "" and dsUri.port() != '1521':
ogrstr += ":" + dsUri.port()
ogrstr += "/"
if dsUri.database() != "":
ogrstr += dsUri.database()
Expand Down

0 comments on commit 31843a7

Please sign in to comment.