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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
7bfe7684
Commit
7bfe7684
authored
Oct 29, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Write .installed.cfg only once, in safe way and only if there's any change.
parent
801268bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+8
-0
No files found.
src/zc/buildout/buildout.py
View file @
7bfe7684
...
@@ -789,6 +789,14 @@ class Buildout(DictMixin):
...
@@ -789,6 +789,14 @@ class Buildout(DictMixin):
else
:
else
:
installed_files
=
list
(
installed_files
)
installed_files
=
list
(
installed_files
)
need_to_save_installed
=
[
p
for
p
in
installed_files
if
p
not
in
old_installed_files
]
if
need_to_save_installed
:
installed_files
=
(
old_installed_files
+
need_to_save_installed
)
else
:
# install
else
:
# install
__doing__
=
'Installing %s.'
,
part
__doing__
=
'Installing %s.'
,
part
self
.
_logger
.
info
(
*
__doing__
)
self
.
_logger
.
info
(
*
__doing__
)
...
...
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