diff options
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeCache.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py index ff3802fa..c46a0e69 100644 --- a/DistUpgrade/DistUpgradeCache.py +++ b/DistUpgrade/DistUpgradeCache.py @@ -39,6 +39,10 @@ class MyCache(apt.Cache): pm.GetArchives(fetcher, self._list, self._records) return fetcher.FetchNeeded @property + def additionalRequiredSpace(self): + """ get the size of the additonal required space on the fs """ + return self._depcache.UsrSize + @property def isBroken(self): """ is the cache broken """ return self._depcache.BrokenCount > 0 |
