summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-26 15:53:37 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-26 15:53:37 +0100
commit33851a84b6868eaff1fadaa5b5f57aa696cdc2e8 (patch)
tree4a6e24fc90e012f17515f0363a2424429ba951ee /apt/cache.py
parent95112f12cea6ec54aaa8b5e372ee158a300f8967 (diff)
parent57624b5df523c0b3a3ebc1741680f283ee1fbbcd (diff)
downloadpython-apt-33851a84b6868eaff1fadaa5b5f57aa696cdc2e8.tar.gz
Merge with mvo, with the following changes:
* python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 2e6d24e5..cfe6bedc 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -117,7 +117,7 @@ class Cache(object):
a dictionary
"""
if progress is None:
- progress = apt.progress.text.OpProgress()
+ progress = apt.progress.base.OpProgress()
self._run_callbacks("cache_pre_open")
self._cache = apt_pkg.Cache(progress)