Funky behavior with trailing / in first argument
(env)[stack@stackit ~]$ cpobj derek_stack:images/ .
Traceback (most recent call last): |
File "/home/stack/env/bin/cpobj", line 97, in <module>
args.multipart)
File "/home/stack/env/lib/python2.7/site-packages/umobj/transfer.py", line 146, in obj_download
download_file(key, dest)
File "/home/stack/env/lib/python2.7/site-packages/umobj/transfer.py", line 77, in download_file
key.get_contents_to_filename(filename)
File "/home/stack/env/lib/python2.7/site-packages/boto/s3/key.py", line 1714, in get_contents_to_filename
os.remove(filename)
<type 'type'>: [Errno 21] Is a directory: '.'