Bug#257007: python-apt: config.py example out of date (--help)
Package: python-apt
Version: 0.5.10
Severity: normal
config.py is out of date with respect to apt_pkg's current API. Using
--help throws an exception.
[cjwatson@cairhien ~/src/packages/python-apt/python-apt-0.5.10]$ doc/examples/config.py --help
Command line is ['doc/examples/config.py', '--help']
FileNames []
Quiet level selected is 0
Traceback (most recent call last):
File "doc/examples/config.py", line 45, in ?
print apt_pkg.Package,apt_pkg.Version,"for",apt_pkg.Architecture, \
AttributeError: 'module' object has no attribute 'Package'
Thanks,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: