Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processsing] removed unused code
- Loading branch information
Showing
with
0 additions
and
2 deletions.
-
+0
−2
python/plugins/processing/script/ScriptAlgorithm.py
|
@@ -94,7 +94,6 @@ def getIcon(self): |
|
|
def defineCharacteristicsFromFile(self): |
|
|
self.error = None |
|
|
self.script = '' |
|
|
self.silentOutputs = [] |
|
|
filename = os.path.basename(self.descriptionFile) |
|
|
self.name = filename[:filename.rfind('.')].replace('_', ' ') |
|
|
self.group = self.tr('User scripts', 'ScriptAlgorithm') |
|
@@ -116,7 +115,6 @@ def defineCharacteristicsFromFile(self): |
|
|
|
|
|
def defineCharacteristicsFromScript(self): |
|
|
lines = self.script.split('\n') |
|
|
self.silentOutputs = [] |
|
|
self.name, self.i18n_name = self.trAlgorithm('[Unnamed algorithm]', 'ScriptAlgorithm') |
|
|
self.group, self.i18n_group = self.trAlgorithm('User scripts', 'ScriptAlgorithm') |
|
|
for line in lines: |
|
|