diff options
author | Chris Lumens <clumens@redhat.com> | 2005-11-08 16:49:56 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-11-08 16:49:56 +0000 |
commit | bb217ab4e1d5d3f881087720a0255dc54fe70bf5 (patch) | |
tree | 0b8a53e24e3587ec2ccb0410b795d155d15d86b1 /text.py | |
parent | b8fbbe9647dfb1f4044e097c6a22a56744c9a898 (diff) | |
download | anaconda-bb217ab4e1d5d3f881087720a0255dc54fe70bf5.tar.gz anaconda-bb217ab4e1d5d3f881087720a0255dc54fe70bf5.tar.xz anaconda-bb217ab4e1d5d3f881087720a0255dc54fe70bf5.zip |
Fix snack deprecation warnings (#172232).
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,7 +119,7 @@ class ProgressWindow: self.scale = None def set(self, amount): - self.scale.set(amount) + self.scale.set(int(amount)) self.screen.refresh() def refresh(self): @@ -135,7 +135,7 @@ class ProgressWindow: g = GridForm(self.screen, title, 1, 2) g.add(t, 0, 0, (0, 0, 0, 1), anchorLeft=1) - self.scale = Scale(width, total) + self.scale = Scale(int(width), int(total)) g.add(self.scale, 0, 1) g.draw() |