Revision c54fc0e8
b/image_creator/disk.py | ||
---|---|---|
174 | 174 |
position = array[2] |
175 | 175 |
total = array[3] |
176 | 176 |
|
177 |
assert self.progress_bar is not None |
|
178 |
print 'posisition/total: %s/%s' % (position, total) |
|
179 |
self.progress_bar.send((position * 100)//total) |
|
177 |
self.progressbar.send((position * 100)//total) |
|
180 | 178 |
|
181 | 179 |
if position == total: |
182 |
self.progress_bar = None
|
|
180 |
self.progressbar = None |
|
183 | 181 |
|
184 | 182 |
def mount(self): |
185 | 183 |
"""Mount all disk partitions in a correct order.""" |
Also available in: Unified diff