Did I find the right examples for you? yes no

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

src/d/m/dm.zopepatches.zclasses-0.1.1/dm/zopepatches/zclasses/Basic.py   dm.zopepatches.zclasses(Download)
    def possible_permissions(self):
        import Products
        Products_permissions = getattr(Products, '__ac_permissions__', ())
        r=map(
            lambda p: p[0],
    def manage_edit(self, selected=[], REQUEST=None):
        "Remove some permissions"
        import Products
        Products_permissions = getattr(Products, '__ac_permissions__', ())
        r=[]

src/s/a/sauna.reload-0.5.1/sauna/reload/fiveconfigure.py   sauna.reload(Download)
def findProducts():
    """
    Do not find products under sauna.reload's reload paths.
    """
    import Products
def findDeferredProducts():
    """
    Find only those products, which are under some reload path.
    """
    import Products
    except ImportError:
        # Zope 2.12
        import Products
        # We iterate a copy of packages_to_initialize,
        # because install_package mutates the original.

src/p/r/Products.CMFCore-2.2.7/Products/CMFCore/TypesTool.py   Products.CMFCore(Download)
    def all_meta_types(self, interfaces=None):
        # this is a workaround and should be removed again if allowedTypes
        # have an interface we can use in _product_interfaces
        import Products
        all = TypesTool.inheritedAttribute('all_meta_types')(self)
        """
        # BBB: typeinfo_name is ignored
        import Products
        if not id:
            raise BadRequest('An id is required.')

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

src/z/e/zenoss-HEAD/trunk/Products/Five/fiveconfigure.py   zenoss(Download)
 
import App.config
import Products
from zLOG import LOG, ERROR
 
def findProducts():
    import Products
    from types import ModuleType
    products = []
    for name in dir(Products):

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

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

src/z/o/Zope2-2.13.19/src/OFS/Application.py   Zope2(Download)
from StringIO import StringIO
 
import Products
import App.Product
import App.ProductRegistry

src/z/o/Zope2-2.13.19/src/HelpSys/HelpSys.py   Zope2(Download)
    def all_meta_types(self):
        import Products
        f=lambda x: x['name'] in ('Image', 'File')
        return filter(f, Products.meta_types) + self.meta_types
 

src/z/o/Zope2-2.13.19/src/App/RefreshFuncs.py   Zope2(Download)
def tryFindProductDirectory(productid):
    import Products
    path_join = os.path.join
    isdir = os.path.isdir
    exists = os.path.exists

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