OK thanks. I think I hadn't quite made it to that part of the manual
yet but it makes sense now.
But I have other questions re: Python and Prudence/Scripturian:
1) Would it be possible to get better error/exception output on the
Prudence debug page? For example, I have /resouces/
api.m.py which has
"import mongo" which is /libraries/mongo.py. If I have an error in
mongo.py the only thing I get in the debug page is a Scripturian
Execution Error for
api.m.py, marked at the line number of (one after)
the "import mongo" line. It would be pretty helpful to get the line
number in the imported files.
2) I don't quite understand how the Prudence/Scripturian updating for
modified files works. If I modify
api.m.py it picks up the changes,
but seemingly not if I modify the imported mongo.py. When I restart
prudence then it picks up the changes to mongo.py.
...except that sometimes it does pick up the changes. So, basically,
this is the most useless question ever, but is there anything you're
aware of that would cause this? I can also try to track down this
issue more specifically if that would help.
Thanks again,
Peter