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
e7d42b35
Commit
e7d42b35
authored
Oct 19, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent big section of code before actual changes.
parent
30a8f29c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
143 additions
and
141 deletions
+143
-141
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+143
-141
No files found.
src/zc/buildout/buildout.py
View file @
e7d42b35
...
@@ -652,6 +652,7 @@ class Buildout(DictMixin):
...
@@ -652,6 +652,7 @@ class Buildout(DictMixin):
installed_parts
=
installed_part_options
[
'buildout'
][
'parts'
]
installed_parts
=
installed_part_options
[
'buildout'
][
'parts'
]
installed_parts
=
installed_parts
and
installed_parts
.
split
()
or
[]
installed_parts
=
installed_parts
and
installed_parts
.
split
()
or
[]
try
:
if
install_args
:
if
install_args
:
install_parts
=
install_args
install_parts
=
install_args
uninstall_missing
=
False
uninstall_missing
=
False
...
@@ -700,17 +701,16 @@ class Buildout(DictMixin):
...
@@ -700,17 +701,16 @@ class Buildout(DictMixin):
if
self
.
_logger
.
getEffectiveLevel
()
<
logging
.
DEBUG
:
if
self
.
_logger
.
getEffectiveLevel
()
<
logging
.
DEBUG
:
for
k
in
old_options
:
for
k
in
old_options
:
if
k
not
in
new_options
:
if
k
not
in
new_options
:
self
.
_logger
.
debug
(
"Part %s, dropped option %s."
,
self
.
_logger
.
debug
(
part
,
k
)
"Part %s, dropped option %s."
,
part
,
k
)
elif
old_options
[
k
]
!=
new_options
[
k
]:
elif
old_options
[
k
]
!=
new_options
[
k
]:
self
.
_logger
.
debug
(
self
.
_logger
.
debug
(
"Part %s, option %s changed:
\
n
%r != %r"
,
"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
:
for
k
in
new_options
:
if
k
not
in
old_options
:
if
k
not
in
old_options
:
self
.
_logger
.
debug
(
"Part %s, new option %s."
,
self
.
_logger
.
debug
(
part
,
k
)
"Part %s, new option %s."
,
part
,
k
)
elif
not
uninstall_missing
:
elif
not
uninstall_missing
:
continue
continue
...
@@ -805,6 +805,8 @@ class Buildout(DictMixin):
...
@@ -805,6 +805,8 @@ class Buildout(DictMixin):
else
:
else
:
assert
installed_exists
assert
installed_exists
self
.
_update_installed
(
parts
=
' '
.
join
(
installed_parts
))
self
.
_update_installed
(
parts
=
' '
.
join
(
installed_parts
))
finally
:
pass
if
installed_develop_eggs
:
if
installed_develop_eggs
:
if
not
installed_exists
:
if
not
installed_exists
:
...
...
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