Move import logic around a bit

This commit is contained in:
Dave Halter committed 2018-07-23 03:54:10 +02:00
1 parent 7711167052
commit 8a9202135b
3 files changed
+152 -106

No files matched your search

+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