source: products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/__init__.py @ 3128

Last change on this file since 3128 was 3128, checked in by vmaksymiv, 13 years ago

pep8 fixes

File size: 663 bytes
Line 
1from zope.i18nmessageid import MessageFactory
2
3from AccessControl import allow_module, ModuleSecurityInfo
4from Products.CMFCore.utils import ToolInit
5
6from quintagroup.captcha.core import config
7from quintagroup.captcha.core import CaptchaTool
8
9product = 'quintagroup.captcha.core'
10ProductMessageFactory = MessageFactory(product)
11ModuleSecurityInfo(product).declarePublic("ProductMessageFactory")
12
13allow_module('quintagroup.captcha.core.utils')
14allow_module('quintagroup.captcha.core.config')
15
16
17def initialize(context):
18    ToolInit(meta_type="CaptchaTool",
19             tools=(CaptchaTool.CaptchaTool, ),
20             icon=config.TOOL_ICON,).initialize(context)
Note: See TracBrowser for help on using the repository browser.