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
43f72ca1
Commit
43f72ca1
authored
Nov 10, 2015
by
Kazuhiko Shiozaki
Committed by
Xavier Thompson
Apr 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Compare Options with sorted result if possible
parent
79d57b0d
Changes
1
Show 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 @
43f72ca1
...
@@ -1778,6 +1778,12 @@ class Options(DictMixin):
...
@@ -1778,6 +1778,12 @@ class Options(DictMixin):
def
__repr__
(
self
):
def
__repr__
(
self
):
return
repr
(
dict
(
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
Buildout
.
Options
=
Options
_spacey_nl
=
re
.
compile
(
'[
\
t
\
r
\
f
\
v
]*
\
n
[
\
t
\
r
\
f
\
v
\
n
]*'
_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