X-Git-Url: https://code.grnet.gr/git/snf-image-creator/blobdiff_plain/ae10ac6397cfa3697d630a1dd6ee544c6adcf9d9..12da78d57fc8f5ec544d52890c500298a78cbd53:/image_creator/output/__init__.py diff --git a/image_creator/output/__init__.py b/image_creator/output/__init__.py index 3087c9c..3992846 100644 --- a/image_creator/output/__init__.py +++ b/image_creator/output/__init__.py @@ -48,6 +48,9 @@ class Output(object): def cleanup(self): pass + def clear(self): + pass + def _get_progress(self): progress = self._Progress progress.output = self @@ -58,6 +61,7 @@ class Output(object): class _Progress(object): def __init__(self, size, title, bar_type='default'): self.size = size + self.bar_type = bar_type self.output.output("%s..." % title, False) def goto(self, dest):