# -*- coding: utf-8 # Copyright 2005 by Vahur Rebas from Products.CMFCore.utils import getToolByName from Products.Archetypes.Extensions.utils import install_subskin, installTypes from Products.Archetypes.public import listTypes from StringIO import StringIO import string from Products.Krihvel.config import GLOBALS, PROJECT_NAME def install(self): """ install. """ out = StringIO() install_subskin(self, out, GLOBALS) installTypes(self, out, listTypes(PROJECT_NAME), PROJECT_NAME) return out.getvalue() def uninstall(self): """ uninstall """ out = StringIO() return out.getvalue()