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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
c8ebe58e
Commit
c8ebe58e
authored
Feb 11, 2024
by
Jérome Perrin
Committed by
Arnaud Fontaine
Jul 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patches/diff: py3
parent
6786dc57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/patches/diff.py
product/ERP5Type/patches/diff.py
+2
-2
No files found.
product/ERP5Type/patches/diff.py
View file @
c8ebe58e
...
...
@@ -76,8 +76,8 @@ def DeepDiff__diff(self, level, parents_ids=frozenset({})):
# by deepdiff. Thus, sorting tuples before diffing will atleast give us
# diff in the format where we would be able to see the more asthetic
# diff for tuples.
level
.
t1
=
sorted
(
level
.
t1
)
level
.
t2
=
sorted
(
level
.
t2
)
level
.
t1
=
sorted
(
level
.
t1
,
key
=
str
)
level
.
t2
=
sorted
(
level
.
t2
,
key
=
str
)
self
.
_DeepDiff__diff_tuple
(
level
,
parents_ids
)
elif
isinstance
(
level
.
t1
,
(
set
,
frozenset
)):
...
...
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