Skip to content
Permalink
Browse files

[processing] fix alglist() function

  • Loading branch information
alexbruy committed Jun 9, 2016
1 parent d1cac84 commit 9e54287bb46569ef1f500d5ecc5bac7e91c3fb56
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/plugins/processing/tools/general.py
@@ -29,13 +29,14 @@
import ConfigParser

from processing.core.Processing import Processing
from processing.gui.Postprocessing import handleAlgorithmResults
from processing.core.alglist import algList
from processing.core.parameters import ParameterSelection
from processing.gui.Postprocessing import handleAlgorithmResults


def alglist(text=None):
s = ''
for provider in Processing.algList.algs.values():
for provider in algList.algs.values():
sortedlist = sorted(provider.values(), key=lambda alg: alg.name)
for alg in sortedlist:
if text is None or text.lower() in alg.name.lower():

0 comments on commit 9e54287

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