Did I find the right examples for you? yes no

All Samples(51)  |  Call(3)  |  Derive(0)  |  Import(48)

src/b/i/bika.lims-3.01a/bika/lims/browser/sample.py   bika.lims(Download)
from plone.app.layout.globals.interfaces import IViewView
from zope.interface import implements
from Products.ZCTextIndex.ParseTree import ParseError
import json
import plone

src/b/i/Bika-LIMS-HEAD/bika/lims/browser/sample.py   Bika-LIMS(Download)
from zope.component import queryUtility
from zope.interface import implements
from Products.ZCTextIndex.ParseTree import ParseError
import json
import plone

src/p/r/Products.ZCTextIndex-2.13.5/src/Products/ZCTextIndex/QueryParser.py   Products.ZCTextIndex(Download)
        if tree is None:
            raise ParseTree.ParseError(
                "Query contains only common words: %s" % repr(query))
        return tree
 
            if isinstance(nodes[0], ParseTree.NotNode):
                raise ParseTree.ParseError(
                    "a term must have at least one positive word")
            if len(nodes) == 1:
                return nodes[0]

src/p/r/Products.BigramSplitter-1.0/Products/BigramSplitter/monkey.py   Products.BigramSplitter(Download)
    if tree is None:
        raise ParseTree.ParseError(
            "Query contains only common words: %s" % repr(query))
    return tree
 

src/p/l/plone.app.redirector-1.2.1/plone/app/redirector/browser.py   plone.app.redirector(Download)
from Products.Five.browser import BrowserView
from Products.CMFCore.utils import getToolByName
from Products.ZCTextIndex.ParseTree import QueryError, ParseError
 
from plone.app.redirector.interfaces import IFourOhFourView

src/c/o/collective.portlets.lineage-1.2.9/collective/portlets/lineage/skins/scripts/subsiteRecentlyModified.py   collective.portlets.lineage(Download)
##
from ZODB.POSException import ConflictError
from Products.ZCTextIndex.ParseTree import ParseError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.browser.navtree import getNavigationRoot

src/c/o/collective.portlets.lineage-1.2.9/collective/portlets/lineage/skins/scripts/subsiteAdvancedQueryCatalog.py   collective.portlets.lineage(Download)
##
from ZODB.POSException import ConflictError
from Products.ZCTextIndex.ParseTree import ParseError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.browser.navtree import getNavigationRoot

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/skins/plone_scripts/queryCatalog.py   Products.CMFPlone(Download)
 
from ZODB.POSException import ConflictError
from Products.ZCTextIndex.ParseTree import ParseError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.browser.navtree import getNavigationRoot

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/skins/plone_scripts/queryCatalog.py   Products.CMFPlone(Download)
 
from ZODB.POSException import ConflictError
from Products.ZCTextIndex.ParseTree import ParseError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.browser.navtree import getNavigationRoot

src/f/t/ftw.solr-1.3/ftw/solr/skins/ftw_solr/queryCatalog.py   ftw.solr(Download)
##
from ZODB.POSException import ConflictError
from Products.ZCTextIndex.ParseTree import ParseError
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.browser.navtree import getNavigationRoot

  1 | 2 | 3 | 4 | 5  Next