Skip to content

Commit

Permalink
I don't think we have to worry about a possibly malformed term
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed Aug 7, 2024
1 parent 9c4013c commit a169a7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions textile/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,10 +1276,7 @@ def fRCList(self, match):
.format(regex_snippets['space']),
content,
re.S)
if xm:
term, definition, _ = xm.groups()
else:
term, definition = content, ''
term, definition, _ = xm.groups()
# cleanup
term = term.strip()
definition = definition.strip(' ')
Expand Down

0 comments on commit a169a7c

Please sign in to comment.