Skip to content
Permalink
Browse files

Followup 297f466 pep8

  • Loading branch information
m-kuhn committed Apr 7, 2016
1 parent cc50157 commit 5376cbf35e54d4fae784977a09843ca3b7ead15e
@@ -31,6 +31,7 @@
from processing.preconfigured.PreconfiguredAlgorithmDialog import PreconfiguredAlgorithmDialog
from processing.preconfigured.PreconfiguredAlgorithm import PreconfiguredAlgorithm


class NewPreconfiguredAlgorithmAction(ContextAction):

def __init__(self):
@@ -31,6 +31,7 @@
from processing.core.GeoAlgorithm import GeoAlgorithm
import json


class PreconfiguredAlgorithm(GeoAlgorithm):

def __init__(self, descriptionFile):
@@ -83,6 +83,7 @@ def accept(self):
self.tr('Wrong or missing parameter values'))
self.close()


class SettingsPanel(QWidget):

def __init__(self):
@@ -54,12 +54,10 @@ def _loadAlgorithms(self):
self.algs.append(alg)

def getIcon(self):
return QIcon(os.path.join(os.path.dirname(os.path.dirname(__file__)) , 'images', 'alg.png'))
return QIcon(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'images', 'alg.png'))

def getName(self):
return 'preconfigured'

def getDescription(self):
return self.tr('Preconfigured algorithms', 'PreconfiguredAlgorithmProvider')


@@ -20,6 +20,7 @@
import os
from processing.tools.system import mkdir, userFolder


def preconfiguredAlgorithmsFolder():
folder = unicode(os.path.join(userFolder(), 'preconfigured'))
mkdir(folder)
@@ -34,4 +35,3 @@ def algAsDict(alg):
for out in alg.outputs:
outputs[out.name] = out.value
return {"parameters": params, "outputs": outputs, "algname": alg.commandLineName()}

1 comment on commit 5376cbf

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn commented on 5376cbf Apr 7, 2016

@volaya would be great if you could set up your git config to call prepare-commit.sh. See here: https://travis-ci.org/qgis/QGIS/jobs/121400394#L1042

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