summaryrefslogtreecommitdiff
path: root/apt/progress/gtk2.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-04 18:54:50 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-04 18:54:50 +0200
commitcdabff6d329baba8024224b362f79d822ddd943e (patch)
tree66417ca63d9a7a29afb39350e23dd1b7ce3073b8 /apt/progress/gtk2.py
parent75567ebb307ea8cdc9a7c36d8d5a9beb3aca1aa6 (diff)
downloadpython-apt-cdabff6d329baba8024224b362f79d822ddd943e.tar.gz
apt, aptsources, doc: Update to use the new names.
Diffstat (limited to 'apt/progress/gtk2.py')
-rw-r--r--apt/progress/gtk2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/progress/gtk2.py b/apt/progress/gtk2.py
index 36d459bc..06ece2d5 100644
--- a/apt/progress/gtk2.py
+++ b/apt/progress/gtk2.py
@@ -247,7 +247,7 @@ class GFetchProgress(gobject.GObject, apt.progress.FetchProgress):
"%(speed)s/s") % \
{"current": currentItem,
"total": self.totalItems,
- "speed": apt_pkg.SizeToStr(self.currentCPS)})
+ "speed": apt_pkg.size_to_str(self.currentCPS)})
else:
text = (_("Downloading file %(current)li of %(total)li") % \
{"current": currentItem,