summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-06 23:27:51 +0900
committerGitHub <noreply@github.com>2018-05-06 23:27:51 +0900
commitf2af9ff97ce361cb6a28f8867d15fc0cdc6473ae (patch)
treee0e6dccfc19a9d62c6629a04fdd87afa4ba1489e /sphinx/ext/mathbase.py
parent44da51a5641caad93200a1cec6b276d0211f4e1f (diff)
parent8c430197cc4f50eaa924c760ef5f1014f7140eba (diff)
downloadsphinx-git-f2af9ff97ce361cb6a28f8867d15fc0cdc6473ae.tar.gz
Merge branch 'master' into fix_4035_2
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r--sphinx/ext/mathbase.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py
index 68ae40f8a..4789b117e 100644
--- a/sphinx/ext/mathbase.py
+++ b/sphinx/ext/mathbase.py
@@ -76,10 +76,6 @@ class MathDomain(Domain):
# type: (Iterable[unicode], Dict) -> None
for labelid, (doc, eqno) in otherdata['objects'].items():
if doc in docnames:
- if labelid in self.data['objects']:
- otherdoc, _ = self.data['objects']
- logger.warning('duplicate label of equation %s, other instance in %s' %
- (labelid, self.env.doc2path(otherdoc)))
self.data['objects'][labelid] = (doc, eqno)
def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):