Path: ordering works reasonably well

Splitting works reasonably well
This commit is contained in:
sliptonic
2018-10-17 11:31:03 -05:00
committed by wmayer
parent bdc869179e
commit 18fd78f9f6
4 changed files with 130 additions and 23 deletions

View File

@@ -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