Use __import__ for pylinting

parent 5f40bb72
......@@ -254,7 +254,7 @@ def bootstrapBuildout(path, buildout=None,
invocation_list.extend(additional_buildout_parametr_list)
else:
try:
import zc.buildout
__import__('zc.buildout')
except ImportError:
logger.warning('Using old style bootstrap of included bootstrap file. '
'Consider having zc.buildout available in search path.')
......
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