Comments (4)
Odd, very odd. What does this affect? Can you show that doing this won't harm? I'm pretty sure the argument separator was set to semicolon for a reason.
from simples3.
ah. here's my case.
>>> for item in storage.bucket._get_listing(args={'prefix':'1/'}):
... print item
...
('1/100x100-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 55, 39), '"14b4f7d62aca06f113be84a65b8c0bde"', 5059)
('1/140x140-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 40, 19), '"f7eabc4177f4a4ba542d73e2baacbf60"', 8458)
('1/180x180', datetime.datetime(2012, 3, 4, 3, 40, 6), '"6a1ef466c74071e57f8e5354080153d3"', 14501)
('1/180x180-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 40, 19), '"b2dc93bfa44102c981d9a92e9d6df15b"', 13184)
('1/32x32-0x0-180x180', datetime.datetime(2012, 3, 7, 6, 53, 56), '"a6c5d76151ff506f309af7c40175c136"', 906)
('1/36x36-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 42, 30), '"965a76c4ff9652984625271f64b95d74"', 1238)
('1/48x48-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 55, 19), '"53c2ee7bff7d42587c58748661d65d54"', 1540)
>>> for item in storage.bucket._get_listing(args={'prefix': '1/', 'max-keys': '3'}):
... print item
...
>>>
I guess that 1. ;
wasn't recognized as separator so arguments has broken or 2. ;
has unexpectedly and weirdly escaped.
After replaced it with &
, it works. But... I'm also not sure using &
as argument separator will not cause any side effects...
>>> for item in storage.bucket._get_listing(args={'prefix': '1/', 'max-keys': '3'}):
... print item
...
('1/100x100-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 55, 39), '"14b4f7d62aca06f113be84a65b8c0bde"', 5059)
('1/140x140-0x0-180x180', datetime.datetime(2012, 3, 4, 3, 40, 19), '"f7eabc4177f4a4ba542d73e2baacbf60"', 8458)
('1/180x180', datetime.datetime(2012, 3, 4, 3, 40, 6), '"6a1ef466c74071e57f8e5354080153d3"', 14501)
>>>
from simples3.
@lericson I wanna know what's going on this issue, because I'm having same trouble like him-
And actually, @kimjayd 's patch works for me-
from simples3.
Ok will merge this
from simples3.
Related Issues (13)
- Bucket creation HOT 2
- HTTP 204 returned on S3Bucket.delete HOT 2
- Don't bail when python lacks ssl support HOT 2
- Broken RFC 822 formatting on non-US locale HOT 2
- UnboundLocalError on S3Bucket.listdir() method
- Make it optional to add -x-amz to metadata during copy HOT 2
- progress callback doesn't work HOT 3
- Add support for buckets in different regions HOT 9
- listdir limited to 1000 entries HOT 1
- Needs proxy support HOT 2
- Need put_file return status
- Edit : fixed in github but not in pypi : Bad content-length set after 2 put_file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simples3.