Commit a0c4df72 authored by David Wilson's avatar David Wilson

issue #121: minimal fix for nested_test.

parent b2a433dc
...@@ -484,7 +484,7 @@ class Importer(object): ...@@ -484,7 +484,7 @@ class Importer(object):
# #114: explicitly whitelisted prefixes override any # #114: explicitly whitelisted prefixes override any
# system-installed package. # 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 return self
try: try:
......
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