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
isaak yansane-sisk
slapos.buildout
Commits
4eb822a3
Commit
4eb822a3
authored
Jan 24, 2013
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for show_picked_versions
parent
343e5acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+2
-5
No files found.
src/zc/buildout/buildout.py
View file @
4eb822a3
...
...
@@ -208,7 +208,7 @@ class Buildout(DictMixin):
# for the versions.
# Set up versions section, if necessary
if
'versions'
not
in
data
[
'buildout'
]:
data
[
'buildout'
][
'versions'
]
=
'versions'
,
'DEFAULT_VALUE'
data
[
'buildout'
][
'versions'
]
=
(
'versions'
,
'DEFAULT_VALUE'
)
if
'versions'
not
in
data
:
data
[
'versions'
]
=
{}
...
...
@@ -246,6 +246,7 @@ class Buildout(DictMixin):
# file_name = buildout['buildout']['buildout_versions_file']
# REINOUT: add 'update-versions-file' option.
# REINOUT: add a nice boolean show_picked_versions option.
self
.
_annotated
=
copy
.
deepcopy
(
data
)
self
.
_raw
=
_unannotate
(
data
)
...
...
@@ -1843,7 +1844,3 @@ def bool_option(options, name, default=None):
except
KeyError
:
raise
zc
.
buildout
.
UserError
(
'Invalid value for %r option: %r'
%
(
name
,
value
))
# REINOUT: add a new bool_option for allow_picked_versions so that 'show' is
# also an acceptable value.
# Or add a nice boolean show_picked_versions option.
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