Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 03:57:54 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 03:57:54 +0300
commite7e07fd69723c02d6b011142f5e97fe2d42bd7d9 (patch)
tree1fe9194dd4115ed070212641ecc46e7d8846d13d /sphinx/ext/graphviz.py
parent25678f391d55a701b7d5f2d2e214db980dcebbd3 (diff)
parentbe2b86cc15a2f5fca1581c25ebf2db9a189dbc41 (diff)
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r--sphinx/ext/graphviz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index f7f97213c..57d63f120 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -59,7 +59,7 @@ class ClickableMapDefinition:
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)
@@ -72,7 +72,7 @@ class ClickableMapDefinition:
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):