Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Xavier Thompson
slapos.buildout
Commits
6721aa25
Commit
6721aa25
authored
Nov 10, 2015
by
Kazuhiko Shiozaki
Committed by
Xavier Thompson
Apr 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Compare Options with sorted result if possible
parent
af378e05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+6
-0
No files found.
src/zc/buildout/buildout.py
View file @
6721aa25
...
...
@@ -1711,6 +1711,12 @@ class Options(DictMixin):
def
__repr__
(
self
):
return
repr
(
dict
(
self
))
def
__eq__
(
self
,
other
):
try
:
return
sorted
(
self
.
items
())
==
sorted
(
other
.
items
())
except
Exception
:
return
super
(
Options
,
self
).
__eq__
(
other
)
Buildout
.
Options
=
Options
_spacey_nl
=
re
.
compile
(
'[
\
t
\
r
\
f
\
v
]*
\
n
[
\
t
\
r
\
f
\
v
\
n
]*'
...
...
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