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

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/action.py

  • Committer: William Grant
  • Date: 2009-05-26 02:15:58 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526021558-v1lq91c2oukieekv
Drop unneeded use of studpath.url_to_local in fileservice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
533
533
    Reads fields: 'path'
534
534
    """
535
535
    paths = fields.getlist('path')
536
 
    user = studpath.url_to_local(req.path)[0]
 
536
    user = util.split_path(req.path)[0]
537
537
    homedir = "/home/%s" % user
538
538
    if len(paths):
539
539
        paths = map(lambda path: actionpath_to_local(req, path), paths)