lericson / simples3

Simple, quick Amazon AWS S3 interface in Python
BSD 2-Clause "Simplified" License
96 stars 36 forks source link

progress callback doesn't work #16

Closed coryvirok closed 11 years ago

coryvirok commented 11 years ago
fp = ProgressCallingFile(fp, progress)
...

TypeError: __init__() takes exactly 4 arguments (3 given)
lericson commented 11 years ago

Correct, it should be fixed. The signature is actually ProgressCallingFile(fp, size, progress). Where did you get this? The documentation?

coryvirok commented 11 years ago

Haven't tried it since I filed the issue, but I got the usage from here: https://github.com/lericson/simples3/blob/master/simples3/streaming.py#L64

lericson commented 11 years ago

I will look into fixing this when I have the time.

-Ludvig

On 20 dec 2012, at 01:41, coryvirok wrote:

Haven't tried it since I filed the issue, but I got the usage from here: https://github.com/lericson/simples3/blob/master/simples3/streaming.py#L64

— Reply to this email directly or view it on GitHub.