fix bug in put --recursive #72

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
1 participant

I was running into this issue:

-bash-3.2# ./s3cmd -c .s3cfg put --recursive /mnt/some/data s3://blah/prefix/

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: KeyErr: 'remote_uri'
S3cmd:   1.1.0-beta3

Traceback (most recent call last):
  File "./s3cmd", line 1810, in ?
    main()
  File "./s3cmd", line 1751, in main
    cmd_func(args)
  File "./s3cmd", line 300, in cmd_object_put
    uri_final = S3Uri(local_list[key]['remote_uri'])
KeyError: 'remote_uri'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This pull request fixes this bug.

samoverton closed this Jul 25, 2012

Actually I had forked a repo which contains other commits.

Please disregard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment