diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-12 15:16:33 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-12 15:16:33 +0200 |
| commit | 7035132c76acf5fd72e62437e487f411bf726d5c (patch) | |
| tree | 9c59887bf9602e326d5737cd4711192af2cd116c /doc | |
| parent | 8572d7a6dff1c3b5e8b27fcfbc36bd13232be598 (diff) | |
| download | python-apt-7035132c76acf5fd72e62437e487f411bf726d5c.tar.gz | |
* apt/progress.py:
- use select() when waiting for child input
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: |
