~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-06-23 12:19:28 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:791
fileservice_lib/action.py: Fixed regression.
    File upload was partially fixed but broken. Now upload should work again!

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
            try:
406
406
                dest = open(filepath_local, 'wb')
407
407
                if data is not None:
408
 
                    shutil.copyfileobj(cStringIO.StringIO(filedata), dest)
 
408
                    shutil.copyfileobj(filedata, dest)
409
409
            except OSError:
410
410
                goterror = True
411
411