From b838e36176c48331a40cdcee690eddb6cd530c62 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 31 May 2006 18:02:40 +0200 Subject: * DistUpgrade/DistUpgradeControler.py: - fix free space calculation --- DistUpgrade/DistUpgradeControler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DistUpgrade/DistUpgradeControler.py') diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 9ab18523..7602075c 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -289,7 +289,7 @@ class DistUpgradeControler(object): if st_archivedir == st_usr: # we are on the same filesystem, so we need to take the space # for downloading the debs into account - free -= self.cache.additionalRequiredSpace + free -= self.cache.requiredDownload logging.debug("/usr on same fs as %s, taking dl-size into account, new free: %s" % (archivedir, free)) else: free = st_usr[statvfs.F_BAVAIL]*st_usr[statvfs.F_FRSIZE] -- cgit v1.2.3