From c9d03a8a633afd3b6a17b985bc640d59c6889a45 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 29 Aug 2006 23:13:39 +0200 Subject: * DistUpgrade/ - actually show the estiamted download time --- DistUpgrade/DistUpgradeCache.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'DistUpgrade/DistUpgradeCache.py') diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py index e1f892ac..37dd96db 100644 --- a/DistUpgrade/DistUpgradeCache.py +++ b/DistUpgrade/DistUpgradeCache.py @@ -36,15 +36,6 @@ class MyCache(apt.Cache): pm.GetArchives(fetcher, self._list, self._records) return fetcher.FetchNeeded @property - def estimatedDownloadTime(self): - """ get the estimated download time """ - requiredDownload = self.requiredDownload - timeModem = requiredDownload/(56*1024/8) # 56 kbit - timeDSL = requiredDownload/(1024*1024/8) # 1Mbit = 1024 kbit - s= _("The download will approximately take %s with a 56k modem and %s with " - "a 1Mbit DSL connection" % FuzzyTimeToStr(timeModem), FuzzyTimeToStr(timeDSL)) - return s - @property def additionalRequiredSpace(self): """ get the size of the additonal required space on the fs """ return self._depcache.UsrSize -- cgit v1.2.3