issue #121: minimal fix for nested_test.

pull/133/head
David Wilson 6 years ago
parent d3091e9085
commit a7dbbd96aa

@ -484,7 +484,7 @@ class Importer(object):
# #114: explicitly whitelisted prefixes override any
# system-installed package.
if self.whitelist and not is_blacklisted_import(self, fullname):
if self.whitelist != [''] and not is_blacklisted_import(self, fullname):
return self
try:

Loading…
Cancel
Save