RudySantana / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
0 stars 0 forks source link

MediaInMemoryUpload object has no attribute body #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
You have a bug in MediaInMemoryUpload.size, len(self.body) instead of 
len(self._body)

Original issue reported on code.google.com by dusan.ma...@gmail.com on 9 Mar 2012 at 12:06

GoogleCodeExporter commented 8 years ago
Oh, and... could it support both IO objects and strings? Or is that a problem 
because you need to know the size prior to reading it?

Original comment by dusan.ma...@gmail.com on 9 Mar 2012 at 12:19

GoogleCodeExporter commented 8 years ago
Thanks Dusan, I just noticed this myself. I'll fix it now.

Original comment by afs...@google.com on 9 Mar 2012 at 1:47

GoogleCodeExporter commented 8 years ago
http://codereview.appspot.com/5781068

Original comment by afs...@google.com on 9 Mar 2012 at 4:58

GoogleCodeExporter commented 8 years ago
Fixed in 
http://code.google.com/p/google-api-python-client/source/detail?r=7e4b0d56e5f4b1
4701c8cf71cf3192126c927013

Original comment by jcgregorio@google.com on 16 Mar 2012 at 12:56

GoogleCodeExporter commented 8 years ago

Original comment by jcgregorio@google.com on 16 Mar 2012 at 12:57