Move import logic around a bit

This commit is contained in:
Dave Halter
2018-07-23 03:54:10 +02:00
parent 7711167052
commit 8a9202135b
3 changed files with 152 additions and 106 deletions
+8
View File
@@ -11,3 +11,11 @@ class BasePlugin(object):
Decorates the execute(context, arguments) function.
"""
return callback
def import_module(callback):
"""
Decorates the
import_module(evaluator, import_path, sys_path, add_error_callback)
function.
"""
return callback