summaryrefslogtreecommitdiff
path: root/apt/progress/gtk2.py
diff options
context:
space:
mode:
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,