Path: ordering works reasonably well
Splitting works reasonably well
This commit is contained in:
@@ -45,11 +45,11 @@ class PostProcessor:
|
||||
|
||||
postname = processor + "_post"
|
||||
namespace = {}
|
||||
|
||||
|
||||
#can't modify function local scope with exec in python3
|
||||
exec("import %s as current_post" % postname, namespace)
|
||||
current_post = namespace['current_post']
|
||||
|
||||
|
||||
# make sure the script is reloaded if it was previously loaded
|
||||
# should the script have been imported for the first time above
|
||||
# then the initialization code of the script gets executed twice
|
||||
|
||||
Reference in New Issue
Block a user