Safeloader: handle add_import_object ImportFrom alias statement
A "from <module> import <symbol>" statement will not always have
a module name set, one example is:
from . import BASEDIR
In these situations, the statement's module attribute will be None.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录