tools/iana.py: read_data is not used, so remove it

This commit is contained in:
Reece H. Dunn
2013-10-17 09:20:41 +01:00
parent 2aadc3b4a3
commit 4747999f57
-7
View File
@@ -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: