|
|
@ -1,8 +1,8 @@ |
|
|
|
def extract_wiki_definitions(file_handle): |
|
|
|
def extract_wiki_definitions(file_handle): |
|
|
|
for line in fh: |
|
|
|
for line in file_handle: |
|
|
|
if line.startswith('wikis = ['): |
|
|
|
if line.startswith('wikis = ['): |
|
|
|
break |
|
|
|
break |
|
|
|
for line in fh: |
|
|
|
for line in file_handle: |
|
|
|
if line.startswith(']'): |
|
|
|
if line.startswith(']'): |
|
|
|
raise StopIteration |
|
|
|
raise StopIteration |
|
|
|
parts = split_wiki_definitions(line) |
|
|
|
parts = split_wiki_definitions(line) |
|
|
|