Commit e7d42b35 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Indent big section of code before actual changes.

parent 30a8f29c
...@@ -652,6 +652,7 @@ class Buildout(DictMixin): ...@@ -652,6 +652,7 @@ class Buildout(DictMixin):
installed_parts = installed_part_options['buildout']['parts'] installed_parts = installed_part_options['buildout']['parts']
installed_parts = installed_parts and installed_parts.split() or [] installed_parts = installed_parts and installed_parts.split() or []
try:
if install_args: if install_args:
install_parts = install_args install_parts = install_args
uninstall_missing = False uninstall_missing = False
...@@ -700,17 +701,16 @@ class Buildout(DictMixin): ...@@ -700,17 +701,16 @@ class Buildout(DictMixin):
if self._logger.getEffectiveLevel() < logging.DEBUG: if self._logger.getEffectiveLevel() < logging.DEBUG:
for k in old_options: for k in old_options:
if k not in new_options: if k not in new_options:
self._logger.debug("Part %s, dropped option %s.", self._logger.debug(
part, k) "Part %s, dropped option %s.", part, k)
elif old_options[k] != new_options[k]: elif old_options[k] != new_options[k]:
self._logger.debug( self._logger.debug(
"Part %s, option %s changed:\n%r != %r", "Part %s, option %s changed:\n%r != %r",
part, k, new_options[k], old_options[k], part, k, new_options[k], old_options[k])
)
for k in new_options: for k in new_options:
if k not in old_options: if k not in old_options:
self._logger.debug("Part %s, new option %s.", self._logger.debug(
part, k) "Part %s, new option %s.", part, k)
elif not uninstall_missing: elif not uninstall_missing:
continue continue
...@@ -805,6 +805,8 @@ class Buildout(DictMixin): ...@@ -805,6 +805,8 @@ class Buildout(DictMixin):
else: else:
assert installed_exists assert installed_exists
self._update_installed(parts=' '.join(installed_parts)) self._update_installed(parts=' '.join(installed_parts))
finally:
pass
if installed_develop_eggs: if installed_develop_eggs:
if not installed_exists: if not installed_exists:
......
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