Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
648d7020
Commit
648d7020
authored
Jun 24, 2014
by
Kazuhiko Shiozaki
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cast the recorded value to list in CategoryMembershipEquivalenceTester.
parent
c34fbed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
product/ERP5/Document/CategoryMembershipEquivalenceTester.py
product/ERP5/Document/CategoryMembershipEquivalenceTester.py
+5
-0
No files found.
product/ERP5/Document/CategoryMembershipEquivalenceTester.py
View file @
648d7020
...
...
@@ -68,6 +68,11 @@ class CategoryMembershipEquivalenceTester(Predicate, EquivalenceTesterMixin):
if
getattr
(
decision_movement
,
'isPropertyRecorded'
,
lambda
x
:
False
)(
tested_property
):
decision_value
=
decision_movement
.
getRecordedProperty
(
tested_property
)
if
not
isinstance
(
decision_value
,
(
list
,
tuple
)):
if
decision_value
is
None
:
decision_value
=
[]
else
:
decision_value
=
[
decision_value
]
else
:
decision_value
=
self
.
_getTestedPropertyValue
(
decision_movement
,
tested_property
)
...
...
Kazuhiko Shiozaki
@kazuhiko
mentioned in commit
c18fd491
·
Oct 11, 2015
mentioned in commit
c18fd491
mentioned in commit c18fd4911643717412a5e2105448d558a9a4c34a
Toggle commit list
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