~azzar1/unity/add-show-desktop-key

Viewing all changes in revision 420.

  • Committer: mattgiuca
  • Date: 2008-02-05 07:13:40 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:420
common.interpret: Changed interface (refactor).
Used to accept absolute filename, and then basically ignored this and looked
in req.path (extremely bad encapsulation). Now does not look in req.path.
Instead accepts jail dir and filename RELATIVE to jail as args. This means it
does not have to figure out the jail itself.

This is necessary to make it possible to interpret scripts which aren't
student scripts.

server: Changed call to common.interpret.interpret_file to match. Now server
calculates the jail directory as an argument.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: