summaryrefslogtreecommitdiff
path: root/doc/examples/acquire.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-01-09 21:47:44 +0100
committerJulian Andres Klode <jak@debian.org>2009-01-09 21:47:44 +0100
commit9358b351e8f1637ff87c9f9195a4b5e546ca2a79 (patch)
tree33b46c806cad33de37aecd7b4750aca5bfa1944d /doc/examples/acquire.py
parent12cf58d12b969010f3d98b2974d72bbb950b775f (diff)
downloadpython-apt-9358b351e8f1637ff87c9f9195a4b5e546ca2a79.tar.gz
Cleanup: Remove whitespace at the end of line in all python codes.
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 eef6c1f7..939c33a2 100644
--- a/doc/examples/acquire.py
+++ b/doc/examples/acquire.py
@@ -27,7 +27,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)
@@ -67,7 +67,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