Did I find the right examples for you? yes no

All Samples(125)  |  Call(0)  |  Derive(0)  |  Import(125)

src/z/o/Zope2-2.13.22/src/App/ProductContext.py   Zope2(Download)
 
# Waaaa
import Products
if not hasattr(Products, 'meta_types'):
    Products.meta_types=()

src/z/o/Zope2-2.13.22/src/App/Product.py   Zope2(Download)
    def _readRefreshTxt(self, pid=None):
        import Products
        refresh_txt = None
        if pid is None:
            pid = self.id

src/z/o/Zope2-2.13.22/src/App/FindHomes.py   Zope2(Download)
import sys
 
import Products
 
try:

src/z/o/Zope2-2.13.22/src/App/FactoryDispatcher.py   Zope2(Download)
def _product_packages():
    """Returns all product packages including the regularly defined
    zope2 packages and those without the Products namespace package.
    """
    import Products

src/z/o/Zope2-2.13.22/src/App/Extensions.py   Zope2(Download)
import os
 
import Products
from zExceptions import NotFound
 

src/z/o/Zope-HEAD/src/Zope2/Startup/handlers.py   Zope(Download)
            config.products.append(instanceprod)
 
    import Products
    L = []
    for d in config.products + Products.__path__:

src/z/o/Zope-HEAD/src/OFS/ObjectManager.py   Zope(Download)
    def all_meta_types(self, interfaces=None):
        # A list of products registered elsewhere
        import Products
        external_candidates = []
 

src/z/o/Zope-HEAD/src/OFS/metaconfigure.py   Zope(Download)
import App.config
from OFS.subscribers import deprecatedManageAddDeleteClasses
import Products
 
debug_mode = App.config.getConfiguration().debug_mode

src/z/o/Zope-HEAD/src/OFS/Application.py   Zope(Download)
from logging import getLogger
 
import Products
import transaction
from AccessControl import ClassSecurityInfo

src/z/o/Zope-HEAD/src/App/ProductContext.py   Zope(Download)
 
# Waaaa
import Products
if not hasattr(Products, 'meta_types'):
    Products.meta_types=()

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next