Skip to content
Permalink
Browse files

[processsing] removed unused code

  • Loading branch information
volaya committed May 18, 2016
1 parent d390ebd commit b4e23541634294f2b580fc23debf7d114d92e0aa
Showing with 0 additions and 2 deletions.
  1. +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:

0 comments on commit b4e2354

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