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
Xavier Thompson
slapos.rebootstrap
Commits
079b8400
Commit
079b8400
authored
Mar 15, 2017
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop zc.buildout version pinning in reboot() to prevent loop in case of version change.
parent
fa3ed1ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
slapos/rebootstrap/__init__.py
slapos/rebootstrap/__init__.py
+2
-0
No files found.
slapos/rebootstrap/__init__.py
View file @
079b8400
...
...
@@ -68,6 +68,8 @@ Buildout will be restarted automatically to have this change applied.
running_python
=
self
.
running_python
)
self
.
logger
.
info
(
message
)
args
=
map
(
zc
.
buildout
.
easy_install
.
_safe_arg
,
sys
.
argv
)
# drop zc.buildout version to prevent loop in case of version change
args
=
[
x
for
x
in
args
if
not
x
.
startswith
(
'versions:zc.buildout='
)]
env
=
os
.
environ
if
'ORIG_PYTHON'
not
in
env
:
env
[
'ORIG_PYTHON'
]
=
sys
.
executable
...
...
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