boto/boto — Issue #595: key.copy and bucket.copy_key return wrong path error
Author: ghilbut
Created: 2012-02-23 12:22:55+00:00
State: open

I am using boto-2.2.2

Every time I make key path like this, and almost time it works very well.

```python
os.path.join('/', pid, r.name)
```

But, when I copy file from s3 to another s3 if I make key path like that,
It makes error response.

```
S3ResponseError: 404 Not Found

NoSuchKey
The specified key does not exist.
/path/of/file/in/bucket
****************
****************************************************************

```

So, I had inserted print command on 1396 line of bucket.py file.
And I could see 'src' variable is like this, 'bucket//key/path/to/file'.

Double '/' make looks wrong path to S3.
If I make keypath with

```python
os.path.join(pid, r.name)
```

, It works.
But, I think both of code should work fine.

Please fix it.