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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
05c979fc
Commit
05c979fc
authored
Dec 03, 2013
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Base.checkConsistency: s/error_list2/extra_error_list/
parent
3a4a3296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+4
-4
No files found.
product/ERP5Type/Base.py
View file @
05c979fc
...
@@ -2558,12 +2558,12 @@ class Base( CopyContainer,
...
@@ -2558,12 +2558,12 @@ class Base( CopyContainer,
for
constraint_instance
in
self
.
_filteredConstraintList
(
filter
):
for
constraint_instance
in
self
.
_filteredConstraintList
(
filter
):
if
fixit
:
if
fixit
:
e
rror_list2
=
UnrestrictedMethod
(
e
xtra_error_list
=
UnrestrictedMethod
(
constraint_instance
.
fixConsistency
)(
self
,
**
kw
)
constraint_instance
.
fixConsistency
)(
self
,
**
kw
)
else
:
else
:
e
rror_list2
=
UnrestrictedMethod
(
e
xtra_error_list
=
UnrestrictedMethod
(
constraint_instance
.
checkConsistency
)(
self
,
**
kw
)
constraint_instance
.
checkConsistency
)(
self
,
**
kw
)
if
len
(
e
rror_list2
)
>
0
:
if
len
(
e
xtra_error_list
)
>
0
:
try
:
try
:
if
not
fixit
:
if
not
fixit
:
extra_error_list
=
constraint_instance
.
checkConsistency
(
self
,
**
kw
)
extra_error_list
=
constraint_instance
.
checkConsistency
(
self
,
**
kw
)
...
@@ -2572,7 +2572,7 @@ class Base( CopyContainer,
...
@@ -2572,7 +2572,7 @@ class Base( CopyContainer,
except
Unauthorized
:
except
Unauthorized
:
error_list
.
append
(
getUnauthorizedErrorMessage
(
constraint_instance
))
error_list
.
append
(
getUnauthorizedErrorMessage
(
constraint_instance
))
else
:
else
:
error_list
+=
e
rror_list2
error_list
+=
e
xtra_error_list
if
fixit
and
len
(
error_list
)
>
0
:
if
fixit
and
len
(
error_list
)
>
0
:
self
.
reindexObject
()
self
.
reindexObject
()
...
...
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