Skip to content
Permalink
Browse files

[processing] removed redundant code

  • Loading branch information
volaya committed Jan 19, 2016
1 parent f762380 commit 014b69647a150a12a1d3d8356cde730ea0a16b2f
@@ -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:'):]
@@ -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:

0 comments on commit 014b696

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