diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 14:55:55 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-12 14:55:55 +0200 |
| commit | 008ba8e659c6aabe66496aab0bfbeb0bf92a9e30 (patch) | |
| tree | f6b2ec1effefbed34de7e8a9ea01f5885f0cdd30 /apt/cache.py | |
| parent | 4325749c7bfe5f1e83983415e13eafd84bb62907 (diff) | |
| parent | 3b155e595fed78f8eac22de78106cd3dcad9793c (diff) | |
| download | python-apt-008ba8e659c6aabe66496aab0bfbeb0bf92a9e30.tar.gz | |
merged from debian-sid, improve test output
Diffstat (limited to 'apt/cache.py')
| -rw-r--r-- | apt/cache.py | 3 |
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 |
