Skip to content
Permalink
Browse files

[processing] indentation fix

  • Loading branch information
volaya committed Dec 16, 2014
1 parent 901c764 commit 2363ae56abe350ee059f31d46dc11bd3e19a695d
@@ -90,15 +90,15 @@ def defineCharacteristics(self):
'localhost', optional=False))
self.addParameter(ParameterString(self.PORT, 'Port',
'5432', optional=False))
self.addParameter(ParameterString(self.USER, 'Username',
self.addParameter(ParameterString(self.USER, 'Username',
'', optional=False))
self.addParameter(ParameterString(self.DBNAME, 'Database Name',
'', optional=False))
self.addParameter(ParameterString(self.PASSWORD, 'Password',
'', optional=False))
self.addParameter(ParameterString(self.SCHEMA, 'Schema name',
'public', optional=True))
self.addParameter(ParameterString(self.TABLE, 'Table name, leave blank to use input name',
self.addParameter(ParameterString(self.TABLE, 'Table name, leave blank to use input name',
'', optional=True))
self.addParameter(ParameterString(self.PK, 'Primary Key',
'id', optional=True))
@@ -188,9 +188,9 @@ def processAlgorithm(self, progress):
arguments.append(dimstring)
arguments.append(ogrLayer)
if index:
arguments.append(indexstring)
arguments.append(indexstring)
if launder:
arguments.append(launderstring)
arguments.append(launderstring)
if append:
arguments.append('-append')
if addfields:
@@ -223,11 +223,11 @@ def processAlgorithm(self, progress):
arguments.append(regionCoords[1])
arguments.append(regionCoords[3])
if clip:
arguments.append('-clipsrc spat_extent')
arguments.append('-clipsrc spat_extent')
if skipfailures:
arguments.append('-skipfailures')
arguments.append('-skipfailures')
if where:
arguments.append(wherestring)
arguments.append(wherestring)
if len(simplify) > 0:
arguments.append('-simplify')
arguments.append(simplify)
@@ -99,7 +99,7 @@ def defineCharacteristics(self):
'EPSG:4326'))
self.addParameter(ParameterString(self.SCHEMA, 'Schema name',
'public', optional=True))
self.addParameter(ParameterString(self.TABLE, 'Table name, leave blank to use input name',
self.addParameter(ParameterString(self.TABLE, 'Table name, leave blank to use input name',
'', optional=True))
self.addParameter(ParameterString(self.PK, 'Primary Key',
'id', optional=True))
@@ -192,9 +192,9 @@ def processAlgorithm(self, progress):
arguments.append(dimstring)
arguments.append(ogrLayer)
if index:
arguments.append(indexstring)
arguments.append(indexstring)
if launder:
arguments.append(launderstring)
arguments.append(launderstring)
if append:
arguments.append('-append')
if addfields:
@@ -227,11 +227,11 @@ def processAlgorithm(self, progress):
arguments.append(regionCoords[1])
arguments.append(regionCoords[3])
if clip:
arguments.append('-clipsrc spat_extent')
arguments.append('-clipsrc spat_extent')
if skipfailures:
arguments.append('-skipfailures')
arguments.append('-skipfailures')
if where:
arguments.append(wherestring)
arguments.append(wherestring)
if len(simplify) > 0:
arguments.append('-simplify')
arguments.append(simplify)

1 comment on commit 2363ae5

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman commented on 2363ae5 Dec 16, 2014

sorry for that, I may have to change editor as in the one I used the indentation seemed ok.

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