Tim Legant <[EMAIL PROTECTED]> writes:

> I believe I could add that syntax to the filter file format in the
> same way I've added variable interpolation (${VARIABLE}).  The output
> of the program would be substituted into the filter text.

Couldn't you just execute the program from your .tmda/config instead
and store the result as a string in a variable, and then reference
that variable from the filter file?

> I also believe that a minor extension of the above idea would allow
> us to run Python functions in the Defaults namespace (any functions
> you put in your config file are in the Defaults namespace) and
> substitute a string-ized version of their output.

I think we can already do this via the same method as above.

Unless I'm misunderstanding your suggestion?
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to