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
bf58aa81
Commit
bf58aa81
authored
Jul 03, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent big section of code before actual changes
parent
837c540d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
143 additions
and
140 deletions
+143
-140
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+143
-140
No files found.
src/zc/buildout/buildout.py
View file @
bf58aa81
...
...
@@ -675,6 +675,7 @@ class Buildout(UserDict.DictMixin):
installed_parts
=
installed_part_options
[
'buildout'
][
'parts'
]
installed_parts
=
installed_parts
and
installed_parts
.
split
()
or
[]
try
:
if
install_args
:
install_parts
=
install_args
uninstall_missing
=
False
...
...
@@ -723,17 +724,16 @@ class Buildout(UserDict.DictMixin):
if
self
.
_logger
.
getEffectiveLevel
()
<
logging
.
DEBUG
:
for
k
in
old_options
:
if
k
not
in
new_options
:
self
.
_logger
.
debug
(
"Part %s, dropped option %s."
,
part
,
k
)
self
.
_logger
.
debug
(
"Part %s, dropped option %s."
,
part
,
k
)
elif
old_options
[
k
]
!=
new_options
[
k
]:
self
.
_logger
.
debug
(
"Part %s, option %s changed:
\
n
%r != %r"
,
part
,
k
,
new_options
[
k
],
old_options
[
k
],
)
part
,
k
,
new_options
[
k
],
old_options
[
k
])
for
k
in
new_options
:
if
k
not
in
old_options
:
self
.
_logger
.
debug
(
"Part %s, new option %s."
,
part
,
k
)
self
.
_logger
.
debug
(
"Part %s, new option %s."
,
part
,
k
)
elif
not
uninstall_missing
:
continue
...
...
@@ -829,6 +829,9 @@ class Buildout(UserDict.DictMixin):
assert
installed_exists
# nothing to tell the user here
self
.
_update_installed
(
parts
=
' '
.
join
(
installed_parts
))
finally
:
pass
if
installed_develop_eggs
:
if
not
installed_exists
:
self
.
_save_installed_options
(
installed_part_options
)
...
...
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