summaryrefslogtreecommitdiff
path: root/doc/examples/checkstate.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/checkstate.py')
-rwxr-xr-xdoc/examples/checkstate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/checkstate.py b/doc/examples/checkstate.py
index 3368d500..41040b6c 100755
--- a/doc/examples/checkstate.py
+++ b/doc/examples/checkstate.py
@@ -8,7 +8,7 @@
import apt_pkg
apt_pkg.init()
-cache = apt_pkg.GetCache()
+cache = apt_pkg.Cache()
packages = cache.Packages
uninstalled, updated, upgradable = {}, {}, {}