When loading definitions ignore lines w/o "==".
This commit is contained in:
parent
f454014248
commit
4064ac1d23
|
|
@ -244,7 +244,7 @@ class DefinitionWrapper(FunctionWrapper):
|
||||||
|
|
||||||
|
|
||||||
def _text_to_defs(text):
|
def _text_to_defs(text):
|
||||||
return filter(None, (line.strip() for line in text.splitlines()))
|
return (line.strip() for line in text.splitlines() if '==' in line)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue