Skip to content
Permalink
Browse files

fix indentation

  • Loading branch information
alexbruy committed Sep 14, 2016
1 parent e2c7991 commit 4e2dd5801d0749f14151d24b75a0bc8c896e362c
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/gdal/GdalAlgorithm.py
@@ -60,9 +60,9 @@ def processAlgorithm(self, progress):
c = c.replace(layer.source(), exported)
if os.path.isfile(layer.source()):
fileName = os.path.splitext(os.path.split(layer.source())[1])[0]
c = re.sub('[\s]{}[\s]'.format(fileName), ' ' + exportedFileName + ' ', c)
c = re.sub('[\s]{}'.format(fileName), ' ' + exportedFileName, c)
c = re.sub('["\']{}["\']'.format(fileName), "'" + exportedFileName + "'", c)
c = re.sub('[\s]{}[\s]'.format(fileName), ' ' + exportedFileName + ' ', c)
c = re.sub('[\s]{}'.format(fileName), ' ' + exportedFileName, c)
c = re.sub('["\']{}["\']'.format(fileName), "'" + exportedFileName + "'", c)

commands[i] = c
GdalUtils.runGdal(commands, progress)

0 comments on commit 4e2dd58

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