projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ae01e2
)
Fix wrong variable name in progress_callback
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Fri, 16 Mar 2012 17:21:12 +0000
(19:21 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Fri, 16 Mar 2012 17:21:12 +0000
(19:21 +0200)
image_creator/disk.py
patch
|
blob
|
history
diff --git
a/image_creator/disk.py
b/image_creator/disk.py
index
9476dc5
..
f117e80
100644
(file)
--- a/
image_creator/disk.py
+++ b/
image_creator/disk.py
@@
-174,12
+174,10
@@
class DiskDevice(object):
position = array[2]
total = array[3]
position = array[2]
total = array[3]
- assert self.progress_bar is not None
- print 'posisition/total: %s/%s' % (position, total)
- self.progress_bar.send((position * 100)//total)
+ self.progressbar.send((position * 100)//total)
if position == total:
if position == total:
- self.progress_bar = None
+ self.progressbar = None
def mount(self):
"""Mount all disk partitions in a correct order."""
def mount(self):
"""Mount all disk partitions in a correct order."""