Commits

Anonymous committed 11d7298

[svn r31131] patch the parse error in search result for the snippet witch contains empty line

  • Participants
  • Parent commits 3b17272

Comments (0)

Files changed (1)

File hyperestraier.py

                 if lines[-1] == '':
                     del lines[-1]
                 section = '\n'.join(lines)
-                _split = section.split('\n\n')
+                _split = section.split('\n\n', 1)
                 if len(_split) != 2:
                     return None
                 rdlines = _split[0].splitlines()