Save bar_type parameter in Output base class
[snf-image-creator] / image_creator / output / __init__.py
index 3087c9c..99653d3 100644 (file)
@@ -58,6 +58,7 @@ class Output(object):
     class _Progress(object):
         def __init__(self, size, title, bar_type='default'):
             self.size = size
     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):
             self.output.output("%s..." % title, False)
 
         def goto(self, dest):