aboutsummaryrefslogtreecommitdiffstats
path: root/community/openpgm/python3.patch
blob: f1ae79772c8ec1c0f66f2cdf6945af83449e8368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/version_generator.py b/version_generator.py
index b2f8f9a..0143d67 100755
--- a/version_generator.py
+++ b/version_generator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 import os
 import platform
@@ -8,7 +8,7 @@ build_date = time.strftime ("%Y-%m-%d")
 build_time = time.strftime ("%H:%M:%S")
 build_rev = filter (str.isdigit, "$Revision: 1487 $")
 
-print """
+print("""
 /* vim:ts=8:sts=8:sw=4:noai:noexpandtab
  * 
  * OpenPGM version.
@@ -50,6 +50,6 @@ const char* pgm_build_revision = "%s";
 
 
 /* eof */
-"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
+"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
 
 # end of file