summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeCache.py
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
-rw-r--r--DistUpgrade/DistUpgradeCache.py9
1 files changed, 0 insertions, 9 deletions
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