Commit 6290dd09 authored by Łukasz Nowak's avatar Łukasz Nowak

Pep8isation.

parent 29be029f
...@@ -307,7 +307,8 @@ class Script: ...@@ -307,7 +307,8 @@ class Script:
try: try:
self._checkPromise('slapos_update_promise', self.options['location']) self._checkPromise('slapos_update_promise', self.options['location'])
except Exception: except Exception:
self.logger.info('Keeping location %r during update' % self.options['location']) self.logger.info('Keeping location %r during update' %
self.options['location'])
raise raise
finally: finally:
for d in self.cleanup_dir_list: for d in self.cleanup_dir_list:
...@@ -315,6 +316,7 @@ class Script: ...@@ -315,6 +316,7 @@ class Script:
self.logger.debug('Cleanup directory %r' % d) self.logger.debug('Cleanup directory %r' % d)
shutil.rmtree(d) shutil.rmtree(d)
class Cmmi(Script): class Cmmi(Script):
"""Simple configure-make-make-insall compatible with hexagonit.recipe.cmmi """Simple configure-make-make-insall compatible with hexagonit.recipe.cmmi
......
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