Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/p/l/plone.app.theming-1.2.0/src/plone/app/theming/transform.py   plone.app.theming(Download)
from plone.app.theming.interfaces import IThemeSettings, IThemingLayer
 
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import isThemeEnabled
            parameterExpressions = settings.parameterExpressions
 
            transform = compileThemeTransform(rules, absolutePrefix, readNetwork, parameterExpressions, runtrace=runtrace)
            if transform is None:
                return None

src/p/l/plone.app.theming-HEAD/src/plone/app/theming/transform.py   plone.app.theming(Download)
from plone.app.theming.interfaces import IThemeSettings, IThemingLayer
 
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import isThemeEnabled
            parameterExpressions = settings.parameterExpressions
 
            transform = compileThemeTransform(rules, absolutePrefix, readNetwork, parameterExpressions, runtrace=runtrace)
            if transform is None:
                return None

src/p/l/plone.app.theming-1.2.0/src/plone/app/theming/browser/mapper.py   plone.app.theming(Download)
 
from repoze.xmliter.utils import getHTMLSerializer
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import getCurrentTheme
 
            try:
                transform = compileThemeTransform(themeInfo.rules, themeInfo.absolutePrefix, settings.readNetwork, themeInfo.parameterExpressions or {})
            except lxml.etree.XMLSyntaxError, e:
                return self.theme_error_template(error=e.msg)

src/p/l/plone.app.theming-HEAD/src/plone/app/theming/browser/mapper.py   plone.app.theming(Download)
 
from repoze.xmliter.utils import getHTMLSerializer
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import getCurrentTheme
 
            try:
                transform = compileThemeTransform(themeInfo.rules, themeInfo.absolutePrefix, settings.readNetwork, themeInfo.parameterExpressions or {})
            except lxml.etree.XMLSyntaxError, e:
                return self.theme_error_template(error=e.msg)