summaryrefslogtreecommitdiff
path: root/doc/examples/gui-inst.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-03 10:38:46 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-03 10:38:46 +0000
commit778a4b5fa470c03a598f3cf6f81ab73c3855f488 (patch)
tree77bda2c5babe7e826539d21b2190985f6e20a09a /doc/examples/gui-inst.py
parent7d126728ae138e08bfef5abd71de1e608ee7ea55 (diff)
downloadpython-apt-778a4b5fa470c03a598f3cf6f81ab73c3855f488.tar.gz
* some docstrings added, more api fixing
Diffstat (limited to 'doc/examples/gui-inst.py')
-rw-r--r--doc/examples/gui-inst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/gui-inst.py b/doc/examples/gui-inst.py
index 677fee8b..b2f64e91 100644
--- a/doc/examples/gui-inst.py
+++ b/doc/examples/gui-inst.py
@@ -34,7 +34,7 @@ class GuiFetchProgress(gtk.Window, FetchProgress):
self.hide()
def pulse(self):
self.label.set_text("Speed: %s/s" % apt_pkg.SizeToStr(self.currentCPS))
- self.progress.set_fraction(self.CurrentBytes/self.totalBytes)
+ self.progress.set_fraction(self.currentBytes/self.totalBytes)
while gtk.events_pending():
gtk.main_iteration()