summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-18 18:42:20 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-18 18:42:20 +0200
commita9dd5cc00d723bedc06a0d17c7ede97fb66c14fd (patch)
tree6739b10caae2a5fd1bba2d40231cb5dfcb42db53 /doc
parent283dade78ce3cb31d09dcbc3407b83eedb6d59e4 (diff)
parent8df7cb6c729a5451f231f2cd3e82fc495eaea289 (diff)
downloadpython-apt-a9dd5cc00d723bedc06a0d17c7ede97fb66c14fd.tar.gz
* merged from python-apt--main
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/inst.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/examples/inst.py b/doc/examples/inst.py
index 0e91c28f..ff9d452c 100644
--- a/doc/examples/inst.py
+++ b/doc/examples/inst.py
@@ -29,10 +29,7 @@ cache = apt.Cache(apt.progress.OpTextProgress())
fprogress = apt.progress.TextFetchProgress()
iprogress = TextInstallProgress()
-pkg = cache["test-package"]
-pkg.markUpgrade()
-cache.commit(fprogress,iprogress)
-sys.exit(1)
+pkg = cache["3dchess"]
# install or remove, the importend thing is to keep us busy :)
if pkg.isInstalled: