projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
99f95b8
)
Fix a variable name typo in output/dialog.py
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 16 Jan 2013 14:35:42 +0000
(16:35 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Wed, 16 Jan 2013 14:35:42 +0000
(16:35 +0200)
image_creator/output/dialog.py
patch
|
blob
|
history
diff --git
a/image_creator/output/dialog.py
b/image_creator/output/dialog.py
index
28ca0b4
..
672387d
100644
(file)
--- a/
image_creator/output/dialog.py
+++ b/
image_creator/output/dialog.py
@@
-67,7
+67,7
@@
class GaugeOutput(Output):
time.sleep(0.4)
def warn(self, msg, new_line=True):
- self.d.gauge_update(self.index, "%s Warning: %s" % (self.msg, msg),
+ self.d.gauge_update(self.percent, "%s Warning: %s" % (self.msg, msg),
update_text=True)
time.sleep(0.4)