aboutsummaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-11-16 14:43:35 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-11-16 14:43:35 +0000
commit963828113c269681e1b9fea97924a4413c558ce7 (patch)
tree92ca345e37f3f8f37c7c8fb16845700192ef53da /doc/api
parent2f7bde898437a912f36b42b94124d95ca03ee407 (diff)
downloadpaludis-963828113c269681e1b9fea97924a4413c558ce7.tar.gz
paludis-963828113c269681e1b9fea97924a4413c558ce7.tar.xz
(python) Do about like in C++. Fixes: ticket:440
Diffstat (limited to 'doc/api')
-rwxr-xr-xdoc/api/python/example_about.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/python/example_about.py b/doc/api/python/example_about.py
index cd4738c91..1ca297fd2 100755
--- a/doc/api/python/example_about.py
+++ b/doc/api/python/example_about.py
@@ -5,7 +5,8 @@
import paludis
-print "Built using Paludis " + paludis.VERSION + paludis.VERSION_SUFFIX,
+print("Built using Paludis " + str(paludis.VERSION_MAJOR) + "." + str(paludis.VERSION_MINOR) +
+ "." + str(paludis.VERSION_MICRO) + paludis.VERSION_SUFFIX),
if paludis.SUBVERSION_REVISION:
print 'r' + paludis.SUBVERSION_REVISION