Fixing KeyError when copying multiple keys (SourceForge bug 3091912) #20

Merged
merged 1 commit into from Jan 7, 2012
Commits on Jan 7, 2012
  1. Fixing bug 3091912 - KeyError when copying multiple keys

    canadianveggie committed Jan 7, 2012
    When you use 's3cmd cp' to copy multiple keys (without using the recursive flag) you get a Key Error.
    s3cmd cp s3://source-bucket/prefix* s3://target-bucket
    
    Logged here: http://sourceforge.net/tracker/?func=detail&aid=3091912&group_id=178907&atid=887015
    and here: https://bugs.launchpad.net/ubuntu/+source/s3cmd/+bug/523586