summaryrefslogtreecommitdiff
path: root/doc/examples/inst.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-04-08 11:55:14 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-04-08 11:55:14 +0000
commit08ea34d6a28b4b17d0146535e85d61ab7bda341d (patch)
tree468c9348b1ee62208fdc60be8ad23a769e02e2b7 /doc/examples/inst.py
parent8f914ef267ab1bbcbda1c6694edd2e4c9b6401ec (diff)
downloadpython-apt-08ea34d6a28b4b17d0146535e85d61ab7bda341d.tar.gz
* simple InstallProgress interface added
Diffstat (limited to 'doc/examples/inst.py')
-rw-r--r--doc/examples/inst.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/inst.py b/doc/examples/inst.py
index 3854805b..3269900f 100644
--- a/doc/examples/inst.py
+++ b/doc/examples/inst.py
@@ -5,7 +5,7 @@ import apt_pkg
import sys
import copy
-from progress import OpProgress, FetchProgress
+from progress import OpProgress, FetchProgress, InstallProgress
# init
@@ -22,7 +22,7 @@ depcache.Init(progress)
# do something
fprogress = FetchProgress()
-iprogress = "lala"
+iprogress = InstallProgress()
iter = cache["base-config"]
print "\n%s"%iter