Commit f6b1d295 authored by Julien Muchembled's avatar Julien Muchembled

WIP: Do not skip dependencies when parts are given to the 'install' command

TODO: update tests and help message
parent 632b6015
...@@ -675,18 +675,16 @@ class Buildout(DictMixin): ...@@ -675,18 +675,16 @@ class Buildout(DictMixin):
# From now, the caller will update the .installed.cfg at return. # From now, the caller will update the .installed.cfg at return.
self.installed_part_options = installed_part_options self.installed_part_options = installed_part_options
install_parts = self['buildout']['parts']
if install_args: if install_args:
install_parts = install_args install_parts = install_args
uninstall_missing = False uninstall_missing = False
else: else:
install_parts = install_parts.split() install_parts = self['buildout']['parts'].split()
uninstall_missing = True uninstall_missing = True
# load and initialize recipes # load and initialize recipes
[self[part]['recipe'] for part in install_parts] [self[part]['recipe'] for part in install_parts]
if not install_args: install_parts = self._parts
install_parts = self._parts
if self._log_level < logging.DEBUG: if self._log_level < logging.DEBUG:
sections = list(self) sections = list(self)
......
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