Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
a3cd5781
Commit
a3cd5781
authored
Sep 05, 2013
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove local variable 'portal_workflow' because is assigned to but never used
parent
2a446dcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+0
-1
No files found.
product/ERP5/tests/testXHTML.py
View file @
a3cd5781
...
@@ -153,7 +153,6 @@ class TestXHTML(ERP5TypeTestCase):
...
@@ -153,7 +153,6 @@ class TestXHTML(ERP5TypeTestCase):
def
enableDefaultSitePreference
(
self
):
def
enableDefaultSitePreference
(
self
):
portal_preferences
=
getToolByName
(
self
.
portal
,
'portal_preferences'
)
portal_preferences
=
getToolByName
(
self
.
portal
,
'portal_preferences'
)
portal_workflow
=
getToolByName
(
self
.
portal
,
'portal_workflow'
)
default_site_preference
=
portal_preferences
.
default_site_preference
default_site_preference
=
portal_preferences
.
default_site_preference
if
self
.
portal
.
portal_workflow
.
isTransitionPossible
(
default_site_preference
,
'enable'
):
if
self
.
portal
.
portal_workflow
.
isTransitionPossible
(
default_site_preference
,
'enable'
):
default_site_preference
.
enable
()
default_site_preference
.
enable
()
...
...
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