aboutsummaryrefslogtreecommitdiff
path: root/python
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 /python
parent2f7bde898437a912f36b42b94124d95ca03ee407 (diff)
downloadpaludis-963828113c269681e1b9fea97924a4413c558ce7.tar.gz
paludis-963828113c269681e1b9fea97924a4413c558ce7.tar.xz
(python) Do about like in C++. Fixes: ticket:440
Diffstat (limited to 'python')
-rw-r--r--python/about.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/about.cc b/python/about.cc
index b0aac89f2..93a20cf2e 100644
--- a/python/about.cc
+++ b/python/about.cc
@@ -28,9 +28,9 @@ namespace bp = boost::python;
void expose_about()
{
bp::scope s;
- s.attr("VERSION_MAJOR") = stringify(PALUDIS_VERSION_MAJOR);
- s.attr("VERSION_MINOR") = stringify(PALUDIS_VERSION_MINOR);
- s.attr("VERSION_MICRO") = stringify(PALUDIS_VERSION_MICRO);
+ s.attr("VERSION_MAJOR") = PALUDIS_VERSION_MAJOR;
+ s.attr("VERSION_MINOR") = PALUDIS_VERSION_MINOR;
+ s.attr("VERSION_MICRO") = PALUDIS_VERSION_MICRO;
s.attr("VERSION") = stringify(PALUDIS_VERSION_MAJOR) + "."
+ stringify(PALUDIS_VERSION_MINOR) + "." + stringify(PALUDIS_VERSION_MICRO);
s.attr("VERSION_SUFFIX") = stringify(PALUDIS_VERSION_SUFFIX);