summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeCache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-12 16:23:22 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-12 16:23:22 +0200
commit6152afd41bc875529bf34367f22cf5067574d257 (patch)
tree3ea2431739e880f4b042cf6d43e14fa8e8520848 /DistUpgrade/DistUpgradeCache.py
parent9c767ba4bb7d2632a34e7ecbcae314ff5691f7d3 (diff)
downloadpython-apt-6152afd41bc875529bf34367f22cf5067574d257.tar.gz
* tell the user about demoted packages
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
-rw-r--r--DistUpgrade/DistUpgradeCache.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py
index c46a0e69..96b8517d 100644
--- a/DistUpgrade/DistUpgradeCache.py
+++ b/DistUpgrade/DistUpgradeCache.py
@@ -17,12 +17,6 @@ class MyCache(apt.Cache):
self.config = DistUpgradeConfig()
self.metapkgs = self.config.getlist("Distro","MetaPkgs")
- # turn on debuging
- apt_pkg.Config.Set("Debug::pkgProblemResolver","true")
- fd = os.open("/var/log/dist-upgrade-apt.log", os.O_RDWR|os.O_CREAT|os.O_TRUNC)
- os.dup2(fd,1)
- os.dup2(fd,2)
-
# a list of regexp that are not allowed to be removed
self.removal_blacklist = []
for line in open("removal_blacklist.txt").readlines():