Skip to content
Permalink
Browse files

fixed #5708

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@210 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed Jun 1, 2012
1 parent 228288c commit bf67531de1615e5a5096589cc20f3d27742254ed
Showing with 9 additions and 1 deletion.
  1. +2 −1 .settings/org.eclipse.core.resources.prefs
  2. +7 −0 src/sextante/grass/GrassAlgorithm.py
@@ -1,5 +1,6 @@
#Tue Mar 27 17:10:35 CEST 2012
#Thu May 31 18:14:09 CEST 2012
eclipse.preferences.version=1
encoding//src/sextante/ftools/ftools_utils.py=utf-8
encoding//src/sextante/gui/ui_ParametersDialog.py=utf-8
encoding//src/sextante/gui/ui_SextanteToolbox.py=utf-8
encoding//src/sextante/resources.py=utf-8
@@ -22,6 +22,7 @@
from sextante.parameters.ParameterSelection import ParameterSelection
from sextante.core.LayerExporter import LayerExporter
from sextante.core.WrongHelpFileException import WrongHelpFileException
from sextante.outputs.OutputFile import OutputFile

class GrassAlgorithm(GeoAlgorithm):

@@ -221,6 +222,12 @@ def processAlgorithm(self, progress):
command+=(" " + param.name + "=" + str(param.value));

for out in self.outputs:
if isinstance(out, OutputFile):
command+=(" " + out.name + "=\"" + out.value + "\"");
else:
command+=(" " + out.name + "=" + out.name);


command+=(" " + out.name + "=" + out.name);

command += " --overwrite"

0 comments on commit bf67531

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