summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-04-26 01:03:49 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-04-26 01:03:49 +0900
commit93837bb01ecb185d8ee64b1f794f010c510b32e1 (patch)
treedabb9ec310c8e3aae8412664e4faedec0347d527 /sphinx/ext/mathbase.py
parentacb7edcae85318e373725fd003e3609fdef71d79 (diff)
parent6ad0ad6f1721bcf5f04765db9b1fdb315d9042b6 (diff)
downloadsphinx-git-93837bb01ecb185d8ee64b1f794f010c510b32e1.tar.gz
Merge branch '1.7'
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):