1 From e04f5c20fc1536f8e6d4faf32f2f4657d441f7c8 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Mon, 14 Apr 2014 17:54:37 +0200
4 Subject: [PATCH] version_generator.py: make it python3 compliant
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
8 openpgm/pgm/version_generator.py | 6 ++++--
9 1 file changed, 4 insertions(+), 2 deletions(-)
11 diff --git a/openpgm/pgm/version_generator.py b/openpgm/pgm/version_generator.py
12 index 2265480..c31376f 100755
13 --- a/openpgm/pgm/version_generator.py
14 +++ b/openpgm/pgm/version_generator.py
18 +from __future__ import print_function
23 @@ -8,7 +10,7 @@ build_date = time.strftime ("%Y-%m-%d")
24 build_time = time.strftime ("%H:%M:%S")
25 build_rev = filter (str.isdigit, "$Revision: 1369 $")
29 /* vim:ts=8:sts=8:sw=4:noai:noexpandtab
32 @@ -47,6 +49,6 @@ const char* pgm_build_revision = "%s";
36 -"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
37 +"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))