-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't ls the root of a bucket? #52
Comments
Yeah, the behavior of For what you're trying to do, |
ah but with whateverthefuck version of boto/botocore i'm on, lsdir is lame: In [41]: cci.lsdir()
Out[41]: <map at 0x7f311a943f28> although, fortunately: In [45]: list(cci.lsdir())
Out[45]: ['stuff.tar.gz', 'script.py'] and cci.glob works as expected. |
oh that's annoying. they bigger issue of the |
I'm having trouble ls'ing the root of a bucket. might be a boto/botocore issue. the problem is that
os.path.normpath
turns '' into '.', and then botocore barfs.for ref, boto is version 2.42.0, botocore is version 1.7.43. python 3.
also, related, running cci.ls with no arguments, which seems like it should ls the bucket root, just barfs because the decorator expects an argument:
if that's intended behavior, fine.
The text was updated successfully, but these errors were encountered: