projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new bundle_volume module
[snf-image-creator]
/
image_creator
/
output
/
__init__.py
diff --git
a/image_creator/output/__init__.py
b/image_creator/output/__init__.py
index
7143785
..
3992846
100644
(file)
--- a/
image_creator/output/__init__.py
+++ b/
image_creator/output/__init__.py
@@
-45,6
+45,12
@@
class Output(object):
def output(self, msg='', new_line=True):
pass
def output(self, msg='', new_line=True):
pass
+ def cleanup(self):
+ pass
+
+ def clear(self):
+ pass
+
def _get_progress(self):
progress = self._Progress
progress.output = self
def _get_progress(self):
progress = self._Progress
progress.output = self
@@
-55,6
+61,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):