mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 09:37:47 +00:00
tools/iana.py: read_data is not used, so remove it
This commit is contained in:
@@ -19,13 +19,6 @@
|
||||
|
||||
import os
|
||||
|
||||
def read_data(path, split_char=':'):
|
||||
with open(path) as f:
|
||||
for line in f:
|
||||
line = line.replace('\n', '')
|
||||
if not line.startswith('#'):
|
||||
yield line.split(split_char)
|
||||
|
||||
def fold_lines(path):
|
||||
next_line = None
|
||||
with open(path) as f:
|
||||
|
||||
Reference in New Issue
Block a user