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

« back to all changes in this revision

Viewing changes to www/apps/diff/__init__.py

  • Committer: William Grant
  • Date: 2009-01-20 00:04:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: grantw@unimelb.edu.au-20090120000415-sgqna1xmedtp1hdp
ivle.interpret.interpret_file: Take a User object as the owner, not a login.
    This lets us remove ivle.interpret.get_uid. Also update all callers to
    pass a user, not a login.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
            req.throw_redirect(os.path.join(req.uri,req.user.login));
55
55
        interp_object = ivle.interpret.interpreter_objects["cgi-python"]
56
56
        user_jail_dir = os.path.join(ivle.conf.jail_base, req.user.login)
57
 
        ivle.interpret.interpret_file(req, req.user.login, user_jail_dir,
 
57
        ivle.interpret.interpret_file(req, req.user, user_jail_dir,
58
58
            diffservice_path, interp_object)
59
59