From 9b2e18e4d1b95ef505f87561ac06aba50ada3609 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 21 Oct 2013 20:39:09 +0200 Subject: doc/examples/*.py: Update examples to the new API Closes: #639022 --- doc/examples/acquire.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/examples/acquire.py') diff --git a/doc/examples/acquire.py b/doc/examples/acquire.py index ec6f6576..c2db8327 100644 --- a/doc/examples/acquire.py +++ b/doc/examples/acquire.py @@ -16,9 +16,9 @@ def get_file(fetcher, uri, destfile): apt_pkg.init() -#apt_pkg.Config.Set("Debug::pkgDPkgPM","1"); -#apt_pkg.Config.Set("Debug::pkgPackageManager","1"); -#apt_pkg.Config.Set("Debug::pkgDPkgProgressReporting","1"); +#apt_pkg.config.set("Debug::pkgDPkgPM","1"); +#apt_pkg.config.set("Debug::pkgPackageManager","1"); +#apt_pkg.config.set("Debug::pkgDPkgProgressReporting","1"); cache = apt_pkg.Cache() depcache = apt_pkg.DepCache(cache) -- cgit v1.2.3