Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 23 by
photosag...@gmail.com: Fix crash in 1-photo photosets
http://code.google.com/p/flickrpy/issues/detail?id=23
Photoset.getPhotos() raises an exception if there is exactly one photo in
the set:
Traceback (most recent call last):
File "./test_api.py", line 33, in <module>
test_photosets(stefano)
File "./test_api.py", line 17, in test_photosets
photos = photoset.getPhotos()
File "/home/artur/devel/flickrpy-devel/flickr.py", line 412, in getPhotos
for photo in photos:
TypeError: iteration over non-sequence
Attaching patch that fixes the issue.
Attachments:
0001-Fix-crash-in-1-photo-photosets.patch 1.1 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings