src/k/m/kmkey-HEAD/bundles/kmkey-08.03.01/CPSSkins/Extensions/Install.py kmkey(Download)
# importing CPSSkins .po files
pr(" Checking available languages for skin %s" % skin)
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
if defaultmcat is not None:
# importing default .po files
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
src/k/m/kmkey-HEAD/bundles/kmkey-08.02.02/CPSSkins/Extensions/Install.py kmkey(Download)
# importing CPSSkins .po files
pr(" Checking available languages for skin %s" % skin)
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
if defaultmcat is not None:
# importing default .po files
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
src/k/m/kmkey-HEAD/bundles/kmkey-08.01.02/CPSSkins/Extensions/Install.py kmkey(Download)
# importing CPSSkins .po files
pr(" Checking available languages for skin %s" % skin)
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
if defaultmcat is not None:
# importing default .po files
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
src/k/m/kmkey-HEAD/bundles/ajterrassa_participacio/CPSSkins/Extensions/Install.py kmkey(Download)
# importing CPSSkins .po files
pr(" Checking available languages for skin %s" % skin)
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
if defaultmcat is not None:
# importing default .po files
# The products directory might not be in the Zope instance
import Products
product_file = getattr(Products, 'CPSSkins').__file__
product_path = os.path.dirname(product_file)
po_path = os.path.join(product_path, 'i18n')
src/k/m/kmkey-HEAD/bundles/kmkey-08.03.01/Five/fiveconfigure.py kmkey(Download)
import warnings import App.config import Products from zLOG import LOG, ERROR from zope.interface import classImplements, classImplementsOnly, implementedBy
def findProducts():
import Products
from types import ModuleType
products = []
for name in dir(Products):
product = getattr(Products, name)
if isinstance(product, ModuleType) and hasattr(product, '__file__'):
src/k/m/kmkey-HEAD/bundles/kmkey-08.03.01/CPSDirectory/DirectoryTool.py kmkey(Download)
from AccessControl import Unauthorized from AccessControl.PermissionRole import PermissionRole import Products from OFS.Folder import Folder from OFS.ObjectManager import IFAwareObjectManager from Products.CMFCore.utils import UniqueObject
def manage_addCPSDirectory(self, id, meta_type, **kw):
import Products
for mt in Products.meta_types:
if mt['name'] == meta_type:
klass = mt['instance']
self._setObject(id, klass(id, **kw))
return self._getOb(id)
src/k/m/kmkey-HEAD/bundles/kmkey-08.02.02/Five/fiveconfigure.py kmkey(Download)
import warnings import App.config import Products from zLOG import LOG, ERROR from zope.interface import classImplements, classImplementsOnly, implementedBy
def findProducts():
import Products
from types import ModuleType
products = []
for name in dir(Products):
product = getattr(Products, name)
if isinstance(product, ModuleType) and hasattr(product, '__file__'):
src/k/m/kmkey-HEAD/bundles/kmkey-08.02.02/CPSDirectory/DirectoryTool.py kmkey(Download)
from AccessControl import Unauthorized from AccessControl.PermissionRole import PermissionRole import Products from OFS.Folder import Folder from OFS.ObjectManager import IFAwareObjectManager from Products.CMFCore.utils import UniqueObject
def manage_addCPSDirectory(self, id, meta_type, **kw):
import Products
for mt in Products.meta_types:
if mt['name'] == meta_type:
klass = mt['instance']
self._setObject(id, klass(id, **kw))
return self._getOb(id)
src/k/m/kmkey-HEAD/bundles/kmkey-08.01.02/Five/fiveconfigure.py kmkey(Download)
import warnings import App.config import Products from zLOG import LOG, ERROR from zope.interface import classImplements, classImplementsOnly, implementedBy
def findProducts():
import Products
from types import ModuleType
products = []
for name in dir(Products):
product = getattr(Products, name)
if isinstance(product, ModuleType) and hasattr(product, '__file__'):
src/k/m/kmkey-HEAD/bundles/kmkey-08.01.02/CPSDirectory/DirectoryTool.py kmkey(Download)
from AccessControl import Unauthorized from AccessControl.PermissionRole import PermissionRole import Products from OFS.Folder import Folder from OFS.ObjectManager import IFAwareObjectManager from Products.CMFCore.utils import UniqueObject
def manage_addCPSDirectory(self, id, meta_type, **kw):
import Products
for mt in Products.meta_types:
if mt['name'] == meta_type:
klass = mt['instance']
self._setObject(id, klass(id, **kw))
return self._getOb(id)
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next