Skip to content
Permalink
Browse files
Revert "[Processing] prevent error when running escapeAndJoin with em…
…pty param string"

This reverts commit c2a566a.
  • Loading branch information
volaya committed Apr 4, 2017
1 parent c2a566a commit 7a12d5fa32402fb8032105dbd2e8c59a5ed2abeb
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/algs/gdal/GdalAlgorithm.py
@@ -30,7 +30,8 @@

from qgis.PyQt.QtCore import QUrl

from qgis.core import QgsApplication
from qgis.core import (QgsApplication,
QgsVectorFileWriter)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.gdal.GdalAlgorithmDialog import GdalAlgorithmDialog
@@ -58,7 +59,7 @@ def getCustomParametersDialog(self):
def processAlgorithm(self, feedback):
commands = self.getConsoleCommands()
layers = dataobjects.getVectorLayers()
supported = dataobjects.getSupportedOutputVectorLayerExtensions()
supported = QgsVectorFileWriter.supportedFormatExtensions()
for i, c in enumerate(commands):
for layer in layers:
if layer.source() in c:

0 comments on commit 7a12d5f

Please sign in to comment.