summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-01-12 12:56:25 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-01-12 12:56:25 +0100
commite98464bc06bd69d6b95b7966f69df5230546dc49 (patch)
treeec5082475b8f3a2ca2fbc1e73f68c15897ff3642 /DistUpgrade
parent4a786f397ec4a4845e58c51288bba1217451f541 (diff)
downloadpython-apt-e98464bc06bd69d6b95b7966f69df5230546dc49.tar.gz
* typo fix
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeControler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index 3b5a1ac9..872e19c7 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -388,7 +388,7 @@ class DistUpgradeControler(object):
return True
return False
- def _tryMarkObsoleteForRemoval(self, pkgname, removal_canidates):
+ def _tryMarkObsoleteForRemoval(self, pkgname, remove_candidates):
# this is a delete candidate, only actually delete,
# if it dosn't remove other packages depending on it
# that are not obsolete as well
@@ -419,7 +419,7 @@ class DistUpgradeControler(object):
for pkgname in remove_candidates:
if pkgname not in self.foreign_pkgs:
if not self._tryMarkObsoleteForRemoval(pkgname,
- removal_candidates):
+ remove_candidates):
logging.debug("'%s' scheduled for remove but not in remove_candiates, skipping", pkg.name)
logging.debug("Finish checking for obsolete pkgs")
changes = self.cache.getChanges()