Add catalog to spell_check

This commit is contained in:
Harrissou Sant-anna 2017-07-01 10:19:06 +02:00 committed by Denis Rouzaud
parent e6a8e360dd
commit 338b4c0621
3 changed files with 6 additions and 4 deletions

View File

@ -47,7 +47,7 @@ from qgis.core import (QgsApplication, QgsCoordinateReferenceSystem,
QgsProviderRegistry, QgsSettings)
from qgis.gui import QgsRubberBand
from owslib.csw import CatalogueServiceWeb
from owslib.csw import CatalogueServiceWeb # spellok
from owslib.fes import BBox, PropertyIsLike
from owslib.ows import ExceptionReport
@ -821,7 +821,7 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
try:
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
cat = CatalogueServiceWeb(self.catalog_url, timeout=self.timeout,
cat = CatalogueServiceWeb(self.catalog_url, timeout=self.timeout, # spellok
username=self.catalog_username,
password=self.catalog_password)
cat.getrecordbyid(
@ -899,12 +899,12 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
self.rubber_band.reset()
def _get_csw(self):
"""convenience function to init owslib.csw.CatalogueServiceWeb"""
"""convenience function to init owslib.csw.CatalogueServiceWeb""" # spellok
# connect to the server
try:
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
self.catalog = CatalogueServiceWeb(self.catalog_url,
self.catalog = CatalogueServiceWeb(self.catalog_url, # spellok
timeout=self.timeout,
username=self.catalog_username,
password=self.catalog_password)

View File

@ -40,6 +40,7 @@ images/themes/default/propertyicons/diagram.svg
images/themes/default/propertyicons/general.svg
images/themes/default/svgbase/hammer.svg
LexerR.py
python/plugins/MetaSearch/resources/connections-default.xml
python/plugins/processing/algs/grass7/description/i.landsat.toar.txt
python/plugins/processing/gui/algnames.txt
python/plugins/processing/tests/testdata/expected/orthagonal_lines.gfs

View File

@ -1137,6 +1137,7 @@ casues:causes
casuing:causing
casulaties:casualties
casulaty:casualty
catalogue:catalog
catagories:categories
catagorized:categorized
catagory:category