diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-19 17:30:57 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-19 17:30:57 +0200 |
| commit | d19943ea8489e06a1f5cd0bd545e0a0aeb4b8551 (patch) | |
| tree | a41904c7fbeb9065be976b5dd15661c931e644b2 /tests/depcache.py | |
| parent | a7026989dd1ea3b70cbfc80cf92077efb2f52ba3 (diff) | |
| download | python-apt-d19943ea8489e06a1f5cd0bd545e0a0aeb4b8551.tar.gz | |
* Update the code to use the new classes.
Diffstat (limited to 'tests/depcache.py')
| -rw-r--r-- | tests/depcache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/depcache.py b/tests/depcache.py index 19aba680..0d59648e 100644 --- a/tests/depcache.py +++ b/tests/depcache.py @@ -9,8 +9,8 @@ import sys def main(): apt_pkg.init() - cache = apt_pkg.GetCache() - depcache = apt_pkg.GetDepCache(cache) + cache = apt_pkg.Cache() + depcache = apt_pkg.DepCache(cache) depcache.Init() i=0 all=cache.PackageCount |
