parameters: (self)
return_statement: return False
docstring: convenience function to init catalog wrapper
docstring_summary: convenience function to init catalog wrapper
docstring_tokens: convenience function to init catalog wrapper
function: def _get_catalog(self):
          """convenience function to init catalog wrapper"""
  
          auth = None
  
          if self.disable_ssl_verification:
              try:
                  auth = Authentication(verify=False)
              except NameError:
                  pass
  
          # connect to the server
          with OverrideCursor(Qt.WaitCursor):
              try:
                  self.catalog = get_catalog_service(
                      self.catalog_url, catalog_type=self.catalog_type,
                      timeout=self.timeout, username=self.catalog_username,
                      password=self.catalog_password, auth=auth)
                  return True
              except Exception as err:
                  msg = self.tr('Error connecting to service: {0}').format(err)
  
          QMessageBox.warning(self, self.tr('CSW Connection error'), msg)
          return False
function_tokens: def _get_catalog ( self ) : auth = None if self . disable_ssl_verification : try : auth = Authentication ( verify = False ) except NameError : pass # connect to the server with OverrideCursor ( Qt . WaitCursor ) : try : self . catalog = get_catalog_service ( self . catalog_url , catalog_type = self . catalog_type , timeout = self . timeout , username = self . catalog_username , password = self . catalog_password , auth = auth ) return True except Exception as err : msg = self . tr ( 'Error connecting to service: {0}' ) . format ( err ) QMessageBox . warning ( self , self . tr ( 'CSW Connection error' ) , msg ) return False