diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-18 18:42:20 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-18 18:42:20 +0200 |
| commit | a9dd5cc00d723bedc06a0d17c7ede97fb66c14fd (patch) | |
| tree | 6739b10caae2a5fd1bba2d40231cb5dfcb42db53 /doc | |
| parent | 283dade78ce3cb31d09dcbc3407b83eedb6d59e4 (diff) | |
| parent | 8df7cb6c729a5451f231f2cd3e82fc495eaea289 (diff) | |
| download | python-apt-a9dd5cc00d723bedc06a0d17c7ede97fb66c14fd.tar.gz | |
* merged from python-apt--main
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/examples/inst.py | 5 |
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: |
