From: Matthias T. <mt...@we...> - 2012-10-11 16:49:17
|
Enoch, > Please find attached a patch to Keith's shell script for your > consideration. I took the lazy approach of using Python's eval() option > and it was quite easy: I've difficulties to understand you approach. Do you change the forth code, that gets sent to the controller with the conditionals? The #py directive has what purpose? I'm puzzled... Where do you store the mappings? Looks like you're using the script itself. IMHO not the best place to keep the data.. You introduce a return code in addition to the exception, why? Keith makes an intelligent use of exceptions in his code, I'd keep that design whenever possible. Matthias |