diff options
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r-- | sphinx/ext/graphviz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index cf606f3b7..5ed39cfcf 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -60,7 +60,7 @@ class ClickableMapDefinition(object): def parse(self, dot=None): # type: (unicode) -> None - matched = self.maptag_re.match(self.content[0]) # type: ignore + matched = self.maptag_re.match(self.content[0]) if not matched: raise GraphvizError('Invalid clickable map file found: %s' % self.filename) @@ -73,7 +73,7 @@ class ClickableMapDefinition(object): self.content[0] = self.content[0].replace('%3', self.id) for line in self.content: - if self.href_re.search(line): # type: ignore + if self.href_re.search(line): self.clickable.append(line) def generate_clickable_map(self): |