diff options
| author | Julian Andres Klode <jak@debian.org> | 2013-10-21 20:39:09 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2013-10-21 20:39:09 +0200 |
| commit | 9b2e18e4d1b95ef505f87561ac06aba50ada3609 (patch) | |
| tree | b671b576d80b19d60f539788a74feceecf9031e8 /doc/examples/acquire.py | |
| parent | 8a67219266605b39a522aee08bf7cd3b0b6c3a8c (diff) | |
| download | python-apt-9b2e18e4d1b95ef505f87561ac06aba50ada3609.tar.gz | |
doc/examples/*.py: Update examples to the new API
Closes: #639022
Diffstat (limited to 'doc/examples/acquire.py')
| -rw-r--r-- | doc/examples/acquire.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
