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
Boxiang Sun
slapos.buildout
Commits
136fa15a
Commit
136fa15a
authored
Sep 03, 2012
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort unused options for consistent output.
parent
66fee301
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+2
-1
No files found.
src/zc/buildout/buildout.py
View file @
136fa15a
...
@@ -1501,7 +1501,8 @@ recipe being used:
...
@@ -1501,7 +1501,8 @@ recipe being used:
def
_check_for_unused_options_in_section
(
buildout
,
section
):
def
_check_for_unused_options_in_section
(
buildout
,
section
):
options
=
buildout
[
section
]
options
=
buildout
[
section
]
unused
=
[
option
for
option
in
options
.
_raw
if
option
not
in
options
.
_data
]
unused
=
[
option
for
option
in
sorted
(
options
.
_raw
)
if
option
not
in
options
.
_data
]
if
unused
:
if
unused
:
buildout
.
_logger
.
warn
(
"Unused options for %s: %s."
buildout
.
_logger
.
warn
(
"Unused options for %s: %s."
%
(
section
,
' '
.
join
(
map
(
repr
,
unused
)))
%
(
section
,
' '
.
join
(
map
(
repr
,
unused
)))
...
...
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