diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:48:39 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:48:39 +0100 |
commit | dba488ef4af76742cde7f5b03ef6f5453146eda6 (patch) | |
tree | 11c318e8ebd9eaab67edb50af33d510092264b90 /src/gperf_fold_key_conv.py | |
parent | eb5b295d37e9150e169cc95cbbc39f6ab7b88b2f (diff) | |
parent | 70de057dbb5ea79536834e156f534279347f96f3 (diff) |
Update upstream source from tag 'upstream/6.9.1'
Update to upstream version '6.9.1'
with Debian dir 30a97dee62f9f2b7c7a57e0e6622d9f503cf0256
Diffstat (limited to 'src/gperf_fold_key_conv.py')
-rwxr-xr-x | src/gperf_fold_key_conv.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gperf_fold_key_conv.py b/src/gperf_fold_key_conv.py index 376d343..f453186 100755 --- a/src/gperf_fold_key_conv.py +++ b/src/gperf_fold_key_conv.py @@ -54,11 +54,13 @@ def parse_line(s, key_len): def parse_file(f, key_len): print "/* This file was converted by gperf_fold_key_conv.py\n from gperf output file. */" - line = f.readline() - while line: + while True: + line = f.readline() + if not line: + break + s = parse_line(line, key_len) print s - line = f.readline() # main |