mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] remove obsolete methods
This commit is contained in:
parent
11f8aa2319
commit
6f6979ab0b
@ -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."""
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user