Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.rebootstrap
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.rebootstrap
Commits
1e8063cf
Commit
1e8063cf
authored
Jan 20, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore MissingSection exception in _uninstall_part().
parent
e62fdc2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
slapos/rebootstrap/__init__.py
slapos/rebootstrap/__init__.py
+4
-1
No files found.
slapos/rebootstrap/__init__.py
View file @
1e8063cf
...
@@ -93,7 +93,10 @@ Buildout will be restarted automatically to have this change applied.
...
@@ -93,7 +93,10 @@ Buildout will be restarted automatically to have this change applied.
_uninstall_part_orig
=
zc
.
buildout
.
buildout
.
Buildout
.
_uninstall_part
_uninstall_part_orig
=
zc
.
buildout
.
buildout
.
Buildout
.
_uninstall_part
def
_uninstall_part
(
self
,
part
,
installed_part_options
):
def
_uninstall_part
(
self
,
part
,
installed_part_options
):
_uninstall_part_orig
(
self
,
part
,
installed_part_options
)
_uninstall_part_orig
(
self
,
part
,
installed_part_options
)
location
=
self
[
part
].
get
(
'location'
)
try
:
location
=
self
[
part
].
get
(
'location'
)
except
zc
.
buildout
.
buildout
.
MissingSection
:
return
if
location
and
sys
.
executable
.
startswith
(
location
):
if
location
and
sys
.
executable
.
startswith
(
location
):
message
=
"""
message
=
"""
************ REBOOTSTRAP: IMPORTANT NOTICE ************
************ REBOOTSTRAP: IMPORTANT NOTICE ************
...
...
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