Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] removed redundant code
  • Loading branch information
volaya committed Jan 19, 2016
1 parent f762380 commit 014b696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions python/plugins/processing/algs/grass/GrassAlgorithm.py
Expand Up @@ -493,9 +493,7 @@ def commandLineName(self):
return 'grass:' + self.name[:self.name.find(' ')]

def checkBeforeOpeningParametersDialog(self):
msg = GrassUtils.checkGrassIsInstalled()
if msg is not None:
return msg
return GrassUtils.checkGrassIsInstalled()

def checkParameterValuesBeforeExecuting(self):
name = self.commandLineName().replace('.', '_')[len('grass:'):]
Expand Down
4 changes: 1 addition & 3 deletions python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -550,9 +550,7 @@ def commandLineName(self):
return 'grass7:' + self.name[:self.name.find(' ')]

def checkBeforeOpeningParametersDialog(self):
msg = Grass7Utils.checkGrass7IsInstalled()
if msg is not None:
return msg
return Grass7Utils.checkGrass7IsInstalled()

def checkParameterValuesBeforeExecuting(self):
if self.module:
Expand Down

0 comments on commit 014b696

Please sign in to comment.