diff --git a/python/plugins/db_manager/db_plugins/oracle/connector.py b/python/plugins/db_manager/db_plugins/oracle/connector.py index e1dfb30a791..3c8b1461397 100644 --- a/python/plugins/db_manager/db_plugins/oracle/connector.py +++ b/python/plugins/db_manager/db_plugins/oracle/connector.py @@ -190,7 +190,7 @@ class OracleDBConnector(DBConnector): return self.has_spatial def hasRasterSupport(self): - """No raster support for the moment !""" + """No raster support for the moment!""" # return self.has_raster return False diff --git a/python/plugins/db_manager/db_plugins/oracle/info_model.py b/python/plugins/db_manager/db_plugins/oracle/info_model.py index e65691f0eb5..f8a01ed61a9 100644 --- a/python/plugins/db_manager/db_plugins/oracle/info_model.py +++ b/python/plugins/db_manager/db_plugins/oracle/info_model.py @@ -650,7 +650,7 @@ class ORVectorTableInfo(ORTableInfo, VectorTableInfo): "DBManagerPlugin", (u' Metadata extent is different from' u'real extent. You should update it !')))) + u'/update">update it!')))) # is there an entry in geometry_columns? if self.table.geomType.lower() == 'geometry': diff --git a/python/plugins/db_manager/db_plugins/oracle/plugin.py b/python/plugins/db_manager/db_plugins/oracle/plugin.py index 0a10703b16c..cf5ba690a0f 100644 --- a/python/plugins/db_manager/db_plugins/oracle/plugin.py +++ b/python/plugins/db_manager/db_plugins/oracle/plugin.py @@ -336,7 +336,7 @@ class ORTable(Table): msg = QApplication.translate( "DBManagerPlugin", - "Do you want to {} index {} ?".format( + "Do you want to {} index {}?".format( index_action, index_name)) QApplication.restoreOverrideCursor() try: diff --git a/python/plugins/processing/algs/grass7/ext/r_null.py b/python/plugins/processing/algs/grass7/ext/r_null.py index 34424324397..9ab18d58833 100644 --- a/python/plugins/processing/algs/grass7/ext/r_null.py +++ b/python/plugins/processing/algs/grass7/ext/r_null.py @@ -33,7 +33,7 @@ def checkParameterValuesBeforeExecuting(alg): if alg.getParameterValue(u'setnull') or alg.getParameterValue(u'null'): return None - return alg.tr("You need to set at least 'setnull' or 'null' parameters for this algorithm !") + return alg.tr("You need to set at least 'setnull' or 'null' parameters for this algorithm!") def processInputs(alg): diff --git a/python/plugins/processing/algs/grass7/ext/r_reclass.py b/python/plugins/processing/algs/grass7/ext/r_reclass.py index 8f07bdc01e0..358e8fa1cdd 100644 --- a/python/plugins/processing/algs/grass7/ext/r_reclass.py +++ b/python/plugins/processing/algs/grass7/ext/r_reclass.py @@ -29,7 +29,7 @@ __revision__ = '$Format:%H$' def checkParameterValuesBeforeExecuting(alg): """ Verify if we have the right parameters """ if alg.getParameterValue(u'rules') and alg.getParameterValue(u'txtrules'): - return alg.tr("You need to set either a rules file or write directly the rules !") + return alg.tr("You need to set either a rules file or write directly the rules!") return None diff --git a/python/plugins/processing/algs/grass7/ext/v_distance.py b/python/plugins/processing/algs/grass7/ext/v_distance.py index 2f0b678c455..c07f7889172 100644 --- a/python/plugins/processing/algs/grass7/ext/v_distance.py +++ b/python/plugins/processing/algs/grass7/ext/v_distance.py @@ -39,7 +39,7 @@ def checkParameterValuesBeforeExecuting(alg): # Verifiy that we have the good number of columns column = alg.getParameterValue(u'column') if ((column is None or len(column) == 0) and upload) or (len(column.split(",")) != len(upload.split(","))): - return alg.tr(u"The number of columns and the number of upload parameters should be equal !") + return alg.tr(u"The number of columns and the number of upload parameters should be equal!") # Verify from_type and to_type values for geom in [u'from', u'to']: diff --git a/python/plugins/processing/algs/otb/maintenance/OTBHelper.py b/python/plugins/processing/algs/otb/maintenance/OTBHelper.py index d07a6d5d947..37d65d133c5 100644 --- a/python/plugins/processing/algs/otb/maintenance/OTBHelper.py +++ b/python/plugins/processing/algs/otb/maintenance/OTBHelper.py @@ -228,7 +228,7 @@ def get_xml_description_from_application_name(our_app, criteria=None): real_criteria = criteria if len(our_app) == 0: - raise Exception("App name is empty !") + raise Exception("App name is empty!") # get parameters param_keys = [param_key for param_key in app_instance.GetParametersKeys()] diff --git a/python/plugins/processing/algs/otb/maintenance/OTBTester.py b/python/plugins/processing/algs/otb/maintenance/OTBTester.py index 2a4e513d577..7595893e1f4 100644 --- a/python/plugins/processing/algs/otb/maintenance/OTBTester.py +++ b/python/plugins/processing/algs/otb/maintenance/OTBTester.py @@ -236,7 +236,7 @@ class MakefileParser(object): result.extend(["otbcli_%s" % each for each in itemz[1]]) if len(result[0]) == 7: - raise Exception("App name is empty !") + raise Exception("App name is empty!") result.extend(itemz[2]) result.append("-testenv") diff --git a/python/plugins/processing/algs/otb/maintenance/TestOTBAlgorithms.py b/python/plugins/processing/algs/otb/maintenance/TestOTBAlgorithms.py index 6e78962a592..de3cfa44b04 100644 --- a/python/plugins/processing/algs/otb/maintenance/TestOTBAlgorithms.py +++ b/python/plugins/processing/algs/otb/maintenance/TestOTBAlgorithms.py @@ -94,7 +94,7 @@ def ut_generator(test_name, a_tuple): self.assertTrue(ut_command_validation != "") if ut_command.split(" ")[0] in black_list: - raise Exception("Blacklisted test !") + raise Exception("Blacklisted test!") args = shlex.split(ut_command) failed = False diff --git a/src/core/layertree/qgslayertreemodellegendnode.cpp b/src/core/layertree/qgslayertreemodellegendnode.cpp index 71cffe0473d..b70155fa0ed 100644 --- a/src/core/layertree/qgslayertreemodellegendnode.cpp +++ b/src/core/layertree/qgslayertreemodellegendnode.cpp @@ -615,7 +615,7 @@ const QImage& QgsWMSLegendNode::getLegendGraphic() const connect( mFetcher.data(), SIGNAL( error( const QString& ) ), this, SLOT( getLegendGraphicErrored( const QString& ) ) ); connect( mFetcher.data(), SIGNAL( progress( qint64, qint64 ) ), this, SLOT( getLegendGraphicProgress( qint64, qint64 ) ) ); mFetcher->start(); - } // else QgsDebugMsg("XXX No legend supported ?"); + } // else QgsDebugMsg("XXX No legend supported?"); } diff --git a/src/providers/spatialite/qgsspatialiteprovider.cpp b/src/providers/spatialite/qgsspatialiteprovider.cpp index 495e7d99c34..675590fdd96 100644 --- a/src/providers/spatialite/qgsspatialiteprovider.cpp +++ b/src/providers/spatialite/qgsspatialiteprovider.cpp @@ -4041,7 +4041,7 @@ bool QgsSpatiaLiteProvider::changeGeometryValues( const QgsGeometryMap &geometry toCommit = true; sql = - QString( "UPDATE %1 SET %2=GeomFromWKB(?, %3) WHERE ROWID = ?" ) + QString( "UPDATE %1 SET %2=GeomFromWKB(?, %3) WHERE ROWID=?" ) .arg( quotedIdentifier( mTableName ), quotedIdentifier( mGeometryColumn ) ) .arg( mSrid ); diff --git a/src/providers/virtual/qgsvirtuallayerprovider.cpp b/src/providers/virtual/qgsvirtuallayerprovider.cpp index 90053f3378b..a3bdd388e4d 100644 --- a/src/providers/virtual/qgsvirtuallayerprovider.cpp +++ b/src/providers/virtual/qgsvirtuallayerprovider.cpp @@ -151,7 +151,7 @@ bool QgsVirtualLayerProvider::openIt() Sqlite::Query q( mSqlite.get(), "SELECT name FROM sqlite_master WHERE name='_meta'" ); if ( q.step() != SQLITE_ROW ) { - PROVIDER_ERROR( "No metadata tables !" ); + PROVIDER_ERROR( "No metadata tables!" ); return false; } } @@ -164,7 +164,7 @@ bool QgsVirtualLayerProvider::openIt() version = q.columnInt( 0 ); if ( version != VIRTUAL_LAYER_VERSION ) { - PROVIDER_ERROR( "Wrong virtual layer version !" ); + PROVIDER_ERROR( "Wrong virtual layer version!" ); return false; } mDefinition = QgsVirtualLayerDefinition::fromUrl( QUrl( q.columnText( 1 ) ) ); @@ -324,7 +324,7 @@ bool QgsVirtualLayerProvider::createIt() if ( c.name().isEmpty() ) { - PROVIDER_ERROR( QString( "Result column #%1 has no name !" ).arg( i + 1 ) ); + PROVIDER_ERROR( QString( "Result column #%1 has no name!" ).arg( i + 1 ) ); return false; } @@ -390,14 +390,14 @@ bool QgsVirtualLayerProvider::createIt() } if ( !found ) { - PROVIDER_ERROR( "Cannot find the specified geometry field !" ); + PROVIDER_ERROR( "Cannot find the specified geometry field!" ); return false; } } if ( !mDefinition.geometryField().isEmpty() && !mDefinition.hasDefinedGeometry() ) { - PROVIDER_ERROR( "Can't deduce the geometry type of the geometry field !" ); + PROVIDER_ERROR( "Can't deduce the geometry type of the geometry field!" ); return false; } }