Skip to content
Permalink
Browse files

de-plenk more

  • Loading branch information
jef-n committed Mar 25, 2016
1 parent 962726c commit fbf4d675caf047a64ffadf15218f66715e6b5da5
@@ -36,5 +36,5 @@ def checkParameterValuesBeforeExecuting(alg):
parameters = [alg.getParameterValue(f) for f in ['-c', '-a', '-n']]
paramscore = [f for f in parameters if f]
if len(paramscore) > 1:
return alg.tr("-c, -a, -n parameters are mutually exclusive !")
return alg.tr("-c, -a, -n parameters are mutually exclusive!")
return None
@@ -75,10 +75,10 @@ def checkMovingWindow(alg, outputTxt=False):
movingWindow = True

if not movingWindow and not outputTxt:
return alg.tr('Your configuration needs to be a "moving window" configuration !')
return alg.tr('Your configuration needs to be a "moving window" configuration!')

if movingWindow and outputTxt:
return alg.tr('Your configuration needs to be a non "moving window" configuration !')
return alg.tr('Your configuration needs to be a non "moving window" configuration!')

return None

@@ -68,7 +68,7 @@ def checkMovingWindow(alg):
movingWindow = True

if not movingWindow:
return alg.tr('Your configuration needs to be a "moving window" configuration !')
return alg.tr('Your configuration needs to be a "moving window" configuration!')

return None

@@ -294,7 +294,7 @@ QString QgsFileWidget::toUrl( const QString& path ) const
QUrl url = QUrl::fromUserInput( urlStr );
if ( !url.isValid() || !url.isLocalFile() )
{
QgsDebugMsg( QString( "URL: %1 is not valid or not a local file !" ).arg( path ) );
QgsDebugMsg( QString( "URL: %1 is not valid or not a local file!" ).arg( path ) );
rep = path;
}

0 comments on commit fbf4d67

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