summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmanuele Rocca <ema@debian.org>2008-07-21 17:47:36 +0200
committerEmanuele Rocca <ema@debian.org>2008-07-21 17:47:36 +0200
commit8e959eb0c05ebabcb806016e0360c128a23b9ec1 (patch)
treed0b55e122ec9b25763618db3c43b86dc1f2c42e2 /doc
parentf05130ee834d60bbcf4245185886342584a3a4f9 (diff)
downloadpython-apt-8e959eb0c05ebabcb806016e0360c128a23b9ec1.tar.gz
* doc/examples/config.py:
- Fix config.py --help (closes: #257007)
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/examples/config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/config.py b/doc/examples/config.py
index 222c1331..24d90a0d 100755
--- a/doc/examples/config.py
+++ b/doc/examples/config.py
@@ -42,8 +42,7 @@ if Cnf.FindB("version",0) == 1:
print "Version selected - 1.1";
if Cnf.FindB("help",0) == 1:
- print apt_pkg.Package,apt_pkg.Version,"for",apt_pkg.Architecture, \
- "compiled on",apt_pkg.Date,apt_pkg.Time;
+ print "python-apt",apt_pkg.Version,"compiled on",apt_pkg.Date,apt_pkg.Time;
print "Hi, I am the help text for this program";
sys.exit(0);