summaryrefslogtreecommitdiff
path: root/doc/examples/acquire.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/acquire.py')
-rw-r--r--doc/examples/acquire.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/acquire.py b/doc/examples/acquire.py
index 1291dbfa..cce3fb0d 100644
--- a/doc/examples/acquire.py
+++ b/doc/examples/acquire.py
@@ -38,7 +38,7 @@ recs = apt_pkg.GetPkgRecords(cache)
list = apt_pkg.GetPkgSourceList()
list.ReadMainList()
-# show the amount fetch needed for a dist-upgrade
+# show the amount fetch needed for a dist-upgrade
depcache.Upgrade(True)
progress = apt.progress.TextFetchProgress()
fetcher = apt_pkg.GetAcquire(progress)
@@ -78,7 +78,7 @@ for item in fetcher.Items:
if item.Complete == False:
print "No error, still nothing downloaded (%s)" % item.ErrorText
print
-
+
res = fetcher.Run()
print "fetcher.Run() returned: %s" % res