Browse Source

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

master
Reece H. Dunn 11 years ago
parent
commit
4747999f57
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      tools/iana.py

+ 0
- 7
tools/iana.py View File



import os 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): def fold_lines(path):
next_line = None next_line = None
with open(path) as f: with open(path) as f:

Loading…
Cancel
Save