summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeCache.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-02-24 02:40:48 +0100
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-02-24 02:40:48 +0100
commitdf122edca2edce0b25e5e7c52a094ffa2ca81fcb (patch)
tree848eee21b5c50f4d77a1fcbf6ba82b5ac8ca399b /DistUpgrade/DistUpgradeCache.py
parent94d6f41fc71b1b416bc4a7812195d08fc5ad7c76 (diff)
parent2722df4ce2e4cd081e47d36a7c965829bad94f6b (diff)
downloadpython-apt-df122edca2edce0b25e5e7c52a094ffa2ca81fcb.tar.gz
* mergerd wirh michael
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
-rw-r--r--DistUpgrade/DistUpgradeCache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py
index ab7e24a4..1711ef1b 100644
--- a/DistUpgrade/DistUpgradeCache.py
+++ b/DistUpgrade/DistUpgradeCache.py
@@ -19,7 +19,7 @@ class MyCache(apt.Cache):
# turn on debuging
apt_pkg.Config.Set("Debug::pkgProblemResolver","true")
- fd = os.open(os.path.expanduser("~/dist-upgrade-apt.log"), os.O_RDWR|os.O_CREAT|os.O_TRUNC)
+ 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)