summaryrefslogtreecommitdiff
path: root/doc/examples/checkstate.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-03-23 14:18:44 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-03-23 14:18:44 +0100
commit37650a078f5504dfbc6622d2c06f4435a3302dd4 (patch)
tree35d7df75535420cbe0712a5f7b7b66d61f5e44d1 /doc/examples/checkstate.py
parent2aa709e41d8896ef897863ea9181c409c4c87a8c (diff)
parent3a08cfb10590d5cf5df1f45d94a424ef6a0f674b (diff)
downloadpython-apt-37650a078f5504dfbc6622d2c06f4435a3302dd4.tar.gz
merged from lp:~mvo/python-apt/mvo
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 = {}, {}, {}