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
Yusei Tahara
slapos.buildout
Commits
95f34d9f
Commit
95f34d9f
authored
Nov 10, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compare Options with sorted result, if possible.
parent
6f703a28
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 @
95f34d9f
...
@@ -1595,6 +1595,12 @@ class Options(DictMixin):
...
@@ -1595,6 +1595,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