Fix inverted logic.
This commit is contained in:
parent
d553295135
commit
60ed8525b0
|
@ -388,7 +388,7 @@ class ModuleFinder(object):
|
||||||
module to be loaded that is not part of the standard library.
|
module to be loaded that is not part of the standard library.
|
||||||
"""
|
"""
|
||||||
related = self._related_cache.get(fullname)
|
related = self._related_cache.get(fullname)
|
||||||
if related is None:
|
if related is not None:
|
||||||
return related
|
return related
|
||||||
|
|
||||||
_, src, _ = self.get_module_source(fullname)
|
_, src, _ = self.get_module_source(fullname)
|
||||||
|
|
Loading…
Reference in New Issue