Commit 175abee2 authored by David Wilson's avatar David Wilson

Fix inverted logic.

parent 2fed3613
......@@ -388,7 +388,7 @@ class ModuleFinder(object):
module to be loaded that is not part of the standard library.
"""
related = self._related_cache.get(fullname)
if related is None:
if related is not None:
return related
_, src, _ = self.get_module_source(fullname)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment