Commit 079b8400 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

drop zc.buildout version pinning in reboot() to prevent loop in case of version change.

parent fa3ed1ee
...@@ -68,6 +68,8 @@ Buildout will be restarted automatically to have this change applied. ...@@ -68,6 +68,8 @@ Buildout will be restarted automatically to have this change applied.
running_python=self.running_python) running_python=self.running_python)
self.logger.info(message) self.logger.info(message)
args = map(zc.buildout.easy_install._safe_arg, sys.argv) 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 env = os.environ
if 'ORIG_PYTHON' not in env: if 'ORIG_PYTHON' not in env:
env['ORIG_PYTHON'] = sys.executable env['ORIG_PYTHON'] = sys.executable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment