Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

src/f/t/ftw.inflator-1.3.2/ftw/inflator/browser/views.py   ftw.inflator(Download)
from ftw.inflator.bundle import get_bundle_by_name
from ftw.inflator.bundle import get_bundles
from ftw.inflator.customization import get_merged_customizations
from ftw.inflator.interfaces import EXTENSION_PROFILES
 
    def get_customization(self):
        return get_merged_customizations()
 
    def get_bundle_options(self):
        def option(item):
    def get_bundle_title(self):
        customization = get_merged_customizations()
        return _(u'Create a new ${product} site',
                 mapping={'product': customization.product})
 
    def get_customization(self):
        return get_merged_customizations()

src/f/t/ftw.inflator-1.3.2/ftw/inflator/patches/__init__.py   ftw.inflator(Download)
from OFS.ObjectManager import ObjectManager
from ftw.inflator.customization import get_merged_customizations
from logging import getLogger
 
 

src/f/t/ftw.inflator-1.3.2/ftw/inflator/tests/test_customization_zcml.py   ftw.inflator(Download)
from ftw.inflator.customization import get_merged_customizations
from ftw.inflator.testing import ZOPE_LAYER
from plone.testing import z2
from plone.testing import zca
from unittest2 import TestCase
                    )))
 
        customizations = get_merged_customizations()
        self.assertEquals(customizations.image, '++resource++inflator-plone-logo-4.png')
        self.assertEquals(customizations.product, 'bar')
 
    def test_defaults(self):
        customizations = get_merged_customizations()