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
Jérome Perrin
slapos.buildout
Commits
dc35342a
Commit
dc35342a
authored
Sep 28, 2012
by
Marco Mariani
Committed by
Cédric de Saint Martin
Sep 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unserialize values _after_ loading _data (so they are not overwritten)
parent
cda6fca6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+2
-2
No files found.
src/zc/buildout/buildout.py
View file @
dc35342a
...
@@ -1371,11 +1371,11 @@ class Options(UserDict.DictMixin):
...
@@ -1371,11 +1371,11 @@ class Options(UserDict.DictMixin):
def
copy
(
self
):
def
copy
(
self
):
result
=
self
.
_raw
.
copy
()
result
=
self
.
_raw
.
copy
()
result
.
update
(
self
.
_cooked
)
result
.
update
(
self
.
_data
)
for
key
,
value
in
result
.
iteritems
():
for
key
,
value
in
result
.
iteritems
():
if
value
.
startswith
(
SERIALISED_VALUE_MAGIC
):
if
value
.
startswith
(
SERIALISED_VALUE_MAGIC
):
result
[
key
]
=
loads
(
value
)
result
[
key
]
=
loads
(
value
)
result
.
update
(
self
.
_cooked
)
result
.
update
(
self
.
_data
)
return
result
return
result
def
_call
(
self
,
f
):
def
_call
(
self
,
f
):
...
...
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