From 993b685dbfda4f606a701478540874da7c684c64 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 14 Sep 2007 17:07:42 +0200 Subject: * doc/examples/acquire.py - add actiongroup to example --- doc/examples/acquire.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/examples/acquire.py b/doc/examples/acquire.py index a0790c98..1291dbfa 100644 --- a/doc/examples/acquire.py +++ b/doc/examples/acquire.py @@ -45,7 +45,7 @@ fetcher = apt_pkg.GetAcquire(progress) pm = apt_pkg.GetPackageManager(depcache) pm.GetArchives(fetcher,list,recs) print "%s (%s)" % (apt_pkg.SizeToStr(fetcher.FetchNeeded), fetcher.FetchNeeded) - +actiongroup = apt_pkg.GetPkgActionGroup(depcache) for pkg in cache.Packages: depcache.MarkKeep(pkg) @@ -68,7 +68,6 @@ print pm print fetcher get_file(fetcher, "ftp://ftp.debian.org/debian/dists/README", "/tmp/lala") -sys.exit(1) pm.GetArchives(fetcher,list,recs) -- cgit v1.2.3