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
dcea4db0
Commit
dcea4db0
authored
Jan 31, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch from
https://bugs.launchpad.net/zc.buildout/+bug/144228
.
parent
1a2d9c89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+3
-3
No files found.
src/zc/buildout/buildout.py
View file @
dcea4db0
...
@@ -787,9 +787,7 @@ class Buildout(UserDict.DictMixin):
...
@@ -787,9 +787,7 @@ class Buildout(UserDict.DictMixin):
if
not
f
:
if
not
f
:
continue
continue
f
=
self
.
_buildout_path
(
f
)
f
=
self
.
_buildout_path
(
f
)
if
os
.
path
.
isdir
(
f
):
if
os
.
path
.
isfile
(
f
)
or
os
.
path
.
islink
(
f
):
rmtree
(
f
)
elif
os
.
path
.
isfile
(
f
):
try
:
try
:
os
.
remove
(
f
)
os
.
remove
(
f
)
except
OSError
:
except
OSError
:
...
@@ -804,6 +802,8 @@ class Buildout(UserDict.DictMixin):
...
@@ -804,6 +802,8 @@ class Buildout(UserDict.DictMixin):
# and, of course, it's in use. Leave it.
# and, of course, it's in use. Leave it.
):
):
raise
raise
elif
os
.
path
.
isdir
(
f
):
rmtree
(
f
)
def
_install
(
self
,
part
):
def
_install
(
self
,
part
):
options
=
self
[
part
]
options
=
self
[
part
]
...
...
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