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

« back to all changes in this revision

Viewing changes to lib/fileservice_lib/action.py

  • Committer: mattgiuca
  • Date: 2008-02-18 04:09:44 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:491
fileservice_lib: Removed line in cut_and_paste which is trying to get the
string value out of a field, causing an exception.
Moving to CGI caused the field to directly return a string, NOT a Field
object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
382
382
    # Note that we do not check for the existence of files here. That is done
383
383
    # in the paste operation.
384
384
    files = fields.getlist('path')
385
 
    files = map(lambda field: field.value, files)
386
385
    clipboard = { "mode" : mode, "base" : req.path, "files" : files }
387
386
    session = req.get_session()
388
387
    session['clipboard'] = clipboard