summaryrefslogtreecommitdiff
path: root/src/gperf_unfold_key_conv.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
commit5fc8746a80a7bc6fe88845e1aae3a69903d21cdb (patch)
treee59de9241eef0f0ecb27038f7c85df6619309999 /src/gperf_unfold_key_conv.py
parentc9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff)
parent35e13e4c9637f5bf7bef6039c8c813207780a174 (diff)
Update upstream source from tag 'upstream/6.9.9'
Update to upstream version '6.9.9' with Debian dir 5b0f8b561f5675106115901f41e387c12471c40a
Diffstat (limited to 'src/gperf_unfold_key_conv.py')
-rwxr-xr-xsrc/gperf_unfold_key_conv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gperf_unfold_key_conv.py b/src/gperf_unfold_key_conv.py
index d999d4e..deda85d 100755
--- a/src/gperf_unfold_key_conv.py
+++ b/src/gperf_unfold_key_conv.py
@@ -1,7 +1,7 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# gperf_unfold_key_conv.py
-# Copyright (c) 2016-2018 K.Kosako
+# Copyright (c) 2016-2023 K.Kosako
import sys
import re
@@ -44,12 +44,12 @@ def parse_line(s):
return s
def parse_file(f):
- print "/* This file was converted by gperf_unfold_key_conv.py\n from gperf output file. */"
+ print("/* This file was converted by gperf_unfold_key_conv.py\n from gperf output file. */")
line = f.readline()
while line:
s = parse_line(line)
- print s
+ print(s)
line = f.readline()