Bugfix : reduce sur une liste d'un élément provoque des effets de bords.
[photoprint.git] / __init__.py
1 # -*- coding: utf-8 -*-
2 ############################################################
3 # Copyright © 2009 Benoît PIN <pinbe@luxia.fr> #
4 # Cliché - http://luxia.fr #
5 # #
6 # This program is free software; you can redistribute it #
7 # and/or modify it under the terms of the Creative Commons #
8 # "Attribution-Noncommercial 2.0 Generic" #
9 # http://creativecommons.org/licenses/by-nc/2.0/ #
10 ############################################################
11 """
12 Photo print product. Used to order photo prints.
13
14
15
16 """
17 from Products.CMFCore import utils as cmfutils
18 import tool
19 import utils
20 import order
21 import cart
22 import exceptions
23
24
25 tools = (tool.PhotoPrintTool,)
26
27 def initialize(registrar) :
28 cmfutils.ToolInit('Photoprint Tool',
29 tools = tools,
30 icon = 'tool.gif'
31 ).initialize(registrar)