summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:55:55 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:55:55 +0200
commit008ba8e659c6aabe66496aab0bfbeb0bf92a9e30 (patch)
treef6b2ec1effefbed34de7e8a9ea01f5885f0cdd30 /apt/cache.py
parent4325749c7bfe5f1e83983415e13eafd84bb62907 (diff)
parent3b155e595fed78f8eac22de78106cd3dcad9793c (diff)
downloadpython-apt-008ba8e659c6aabe66496aab0bfbeb0bf92a9e30.tar.gz
merged from debian-sid, improve test output
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 26532c76..f64b489a 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -471,7 +471,8 @@ class Cache(object):
fix the system if dpkg got interrupted is to run
'dpkg --configure -a' as root.
"""
- dpkg_status_dir = os.path.dirname(apt_pkg.Config.find_file("Dir::State::status"))
+ dpkg_status_dir = os.path.dirname(
+ apt_pkg.config.find_file("Dir::State::status"))
for f in os.listdir(os.path.join(dpkg_status_dir, "updates")):
if fnmatch.fnmatch(f, "[0-9]*"):
return True