What steps will reproduce the problem?
1. Call UpdatePhotoBlob with a file handle instead of a string
What is the expected output? What do you see instead?
It should update the specified photo with the content of the file handle.
Instead it throws an exception: "UnboundLocalError: local variable 'photoblob'
referenced before assignment"
What version of the product are you using?
2.0.10
Please provide any additional information below.
The bug is inside gdata/photos/service.py line 561 - here the variable should
be called "photoblob" instead of "mediasource" to work with the code that
follows in the function (e.g. line 575, which expects the gdata.MediaSource
object to be called "photoblob"
Original issue reported on code.google.com by morten...@gmail.com on 29 Jun 2010 at 9:38
Original issue reported on code.google.com by
morten...@gmail.com
on 29 Jun 2010 at 9:38