Save bar_type parameter in Output base class
authorNikos Skalkotos <skalkoto@grnet.gr>
Thu, 14 Jun 2012 08:32:21 +0000 (11:32 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Thu, 14 Jun 2012 08:32:21 +0000 (11:32 +0300)
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):