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

« back to all changes in this revision

Viewing changes to www/apps/fileservice/__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:
61
61
    else:
62
62
        interp_object = ivle.interpret.interpreter_objects["cgi-python"]
63
63
        user_jail_dir = os.path.join(ivle.conf.jail_base, req.user.login)
64
 
        ivle.interpret.interpret_file(req, req.user.login, user_jail_dir,
 
64
        ivle.interpret.interpret_file(req, req.user, user_jail_dir,
65
65
            fileservice_path, interp_object, gentle=False)