diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-01-09 21:47:44 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-01-09 21:47:44 +0100 |
| commit | 9358b351e8f1637ff87c9f9195a4b5e546ca2a79 (patch) | |
| tree | 33b46c806cad33de37aecd7b4750aca5bfa1944d /doc/examples/acquire.py | |
| parent | 12cf58d12b969010f3d98b2974d72bbb950b775f (diff) | |
| download | python-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.py | 4 |
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 |
