diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-27 12:47:54 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-27 12:47:54 +0100 |
| commit | 165cd00f59347de8f1c46643c782e1d7d65b58a0 (patch) | |
| tree | 24805e11ebe6b5f8cab4dd78343feacdb5e69718 /DistUpgrade/DistUpgradeCache.py | |
| parent | d857aea25af73d85af83c60d88cf2f73f4402c15 (diff) | |
| parent | 0e06105183cd1757ce4369bc778ece8363330fbf (diff) | |
| download | python-apt-165cd00f59347de8f1c46643c782e1d7d65b58a0.tar.gz | |
* cherry picked from the main tree
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeCache.py | 2 |
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) |
