| 1 |
# -*- coding: iso-8859-15 -*- |
|---|
| 2 |
# (C) Copyright 2005 Nuxeo SARL <http://nuxeo.com> |
|---|
| 3 |
# Author: Julien Anguenot <ja@nuxeo.com> |
|---|
| 4 |
# |
|---|
| 5 |
# This program is free software; you can redistribute it and/or modify |
|---|
| 6 |
# it under the terms of the GNU General Public License version 2 as published |
|---|
| 7 |
# by the Free Software Foundation. |
|---|
| 8 |
# |
|---|
| 9 |
# This program is distributed in the hope that it will be useful, |
|---|
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 |
# GNU General Public License for more details. |
|---|
| 13 |
# |
|---|
| 14 |
# You should have received a copy of the GNU General Public License |
|---|
| 15 |
# along with this program; if not, write to the Free Software |
|---|
| 16 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
|---|
| 17 |
# 02111-1307, USA. |
|---|
| 18 |
# |
|---|
| 19 |
# $Id$ |
|---|
| 20 |
|
|---|
| 21 |
"""Backward compatibility; see Products.CPSWorkflow.workflowtool |
|---|
| 22 |
""" |
|---|
| 23 |
|
|---|
| 24 |
from Products.CPSWorkflow.workflowtool import WorkflowTool as CPSWorkflowTool |
|---|
| 25 |
from Products.CPSWorkflow.workflowtool import addWorkflowTool as \ |
|---|
| 26 |
addCPSWorkflowTool |
|---|
| 27 |
from Products.CPSWorkflow.workflowtool import Config_id as \ |
|---|
| 28 |
CPSWorkflowConfig_id |
|---|
| 29 |
|
|---|
| 30 |
from warnings import warn |
|---|
| 31 |
|
|---|
| 32 |
warn( "The module, 'Products.CPSCore.CPSWorkflowTool' " |
|---|
| 33 |
"is a deprecated " |
|---|
| 34 |
"compatiblity alias for 'Products.CPSWorkflow.workflowtool';" |
|---|
| 35 |
"please use " |
|---|
| 36 |
"the new module instead.", DeprecationWarning) |
|---|