Skip to content

Commit

Permalink
mulitcore: Fix false positive warnings in merge_domaindata
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax committed Jun 9, 2022
1 parent 09d69da commit 6ca940e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/httpdomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def merge_domaindata(self, docnames, otherdata):
self_data = self.data[typ]
other_data = otherdata[typ]
for entry_point_name, entry_point_data in other_data.items():
if entry_point_name in self_data:
if entry_point_name in self_data and entry_point_data != self_data[entry_point_name]:
logger.warning('duplicate HTTP %s method definition %s in %s, '
'other instance is in %s' %
(typ, entry_point_name,
Expand Down

0 comments on commit 6ca940e

Please sign in to comment.