diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:27:13 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:27:13 +0100 |
commit | acb44b8740ce860a4905a47f84520f132c6f76ac (patch) | |
tree | 4cc2df0d5849dc8ec395282157528a35e2b1829c /src/gperf_fold_key_conv.py | |
parent | c9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff) | |
parent | e81090b75cd330ee5201f56e40d9424a1fc31a6a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/gperf_fold_key_conv.py')
-rwxr-xr-x | src/gperf_fold_key_conv.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gperf_fold_key_conv.py b/src/gperf_fold_key_conv.py index c633100..d943c3e 100755 --- a/src/gperf_fold_key_conv.py +++ b/src/gperf_fold_key_conv.py @@ -1,7 +1,7 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # gperf_fold_key_conv.py -# Copyright (c) 2016-2018 K.Kosako +# Copyright (c) 2016-2023 K.Kosako import sys import re @@ -52,7 +52,7 @@ def parse_line(s, key_len): return s def parse_file(f, key_len): - print "/* This file was converted by gperf_fold_key_conv.py\n from gperf output file. */" + print("/* This file was converted by gperf_fold_key_conv.py\n from gperf output file. */") while True: line = f.readline() @@ -60,7 +60,7 @@ def parse_file(f, key_len): break s = parse_line(line, key_len) - print s + print(s) # main |