Fix #6855: Non-RST translated text should be parsed by the appropriate parser

This commit is contained in:
James McKinney
2019-11-22 17:02:59 -05:00
committed by Takeshi KOMIYA
parent 876fd40cea
commit 2f768cf5a7
4 changed files with 22 additions and 18 deletions

View File

@@ -126,3 +126,8 @@ class PycodeError(Exception):
class NoUri(Exception):
"""Raised by builder.get_relative_uri() if there is no URI available."""
pass
class FiletypeNotFoundError(Exception):
"Raised by get_filetype() if a filename matches no source suffix."
pass