Skip to content
Permalink
Browse files

processing: fix interpretation of oracle layers (take II; followup f0…

  • Loading branch information
jef-n committed May 12, 2015
1 parent d855eab commit 31843a78ee57b10676291426c7fc2f8789825b9b
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/gdal/OgrAlgorithm.py
@@ -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()

0 comments on commit 31843a7

Please sign in to comment.
You can’t perform that action at this time.