Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Products.DCWorkflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Products.DCWorkflow
Commits
2b9135b2
Commit
2b9135b2
authored
Apr 27, 2008
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Because we require Zope >= 2.10, we don't need a BBB conditional import.
parent
d4b6c0ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
Products/DCWorkflow/CHANGES.txt
Products/DCWorkflow/CHANGES.txt
+3
-2
Products/DCWorkflow/tests/test_guard.py
Products/DCWorkflow/tests/test_guard.py
+1
-6
No files found.
Products/DCWorkflow/CHANGES.txt
View file @
2b9135b2
...
...
@@ -2,5 +2,6 @@ Products.DCWorkflow Changelog
Products.DCWorkflow 2.2.0 (unreleased)
- Fixed a deprecation warning for Products.PageTemplates.TALES by a
conditional import, so it still works on Zope 2.12.
- Fixed an import error (Products.PageTemplates.TALES is gone on
Zope trunk). Because we require Zope >= 2.10, we don't need a
BBB conditional import.
Products/DCWorkflow/tests/test_guard.py
View file @
2b9135b2
...
...
@@ -27,12 +27,6 @@ from Products.CMFCore.WorkflowTool import WorkflowTool
from
Products.DCWorkflow.Guard
import
Guard
from
Products.DCWorkflow.DCWorkflow
import
DCWorkflowDefinition
# BBB for Zope < 2.10
try
:
from
zope.tales.tales
import
CompilerError
except
ImportError
:
from
Products.PageTemplates.TALES
import
CompilerError
class
TestGuard
(
unittest
.
TestCase
):
...
...
@@ -50,6 +44,7 @@ class TestGuard(unittest.TestCase):
return
self
.
site
.
portal_workflow
[
'wf'
]
def
test_BaseGuardAPI
(
self
):
from
zope.tales.tales
import
CompilerError
#
# Test guard basic API
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment