From 6f6979ab0b9b6abfb13c3eb85f680b928fc8b97b Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Thu, 15 Sep 2016 19:49:21 +0300 Subject: [PATCH] [processing] remove obsolete methods --- python/plugins/processing/core/Processing.py | 4 ---- python/plugins/processing/core/alglist.py | 5 ----- 2 files changed, 9 deletions(-) diff --git a/python/plugins/processing/core/Processing.py b/python/plugins/processing/core/Processing.py index 22680393078..709e2879c24 100644 --- a/python/plugins/processing/core/Processing.py +++ b/python/plugins/processing/core/Processing.py @@ -194,10 +194,6 @@ class Processing: def getAlgorithm(name): return algList.getAlgorithm(name) - @staticmethod - def getAlgorithmFromFullName(name): - return algList.getAlgorithmFromFullName(name) - @staticmethod def getObject(uri): """Returns the QGIS object identified by the given URI.""" diff --git a/python/plugins/processing/core/alglist.py b/python/plugins/processing/core/alglist.py index f76b9f22387..dd3dd5b31a8 100644 --- a/python/plugins/processing/core/alglist.py +++ b/python/plugins/processing/core/alglist.py @@ -72,10 +72,5 @@ class AlgorithmList(QObject): if name in provider: return provider[name] - def getAlgorithmFromFullName(self, name): - for provider in self.algs.values(): - for alg in provider.values(): - if alg.name == name: - return alg algList = AlgorithmList()