mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
28 lines
720 B
Diff
28 lines
720 B
Diff
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
|
|
|