Navigation Menu

Skip to content

Commit

Permalink
[processsing] removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed May 18, 2016
1 parent d390ebd commit b4e2354
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/plugins/processing/script/ScriptAlgorithm.py
Expand Up @@ -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')
Expand All @@ -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:
Expand Down

0 comments on commit b4e2354

Please sign in to comment.