Revision: 7888 Author: multichill Date: 2010-01-24 18:29:39 +0000 (Sun, 24 Jan 2010)
Log Message: ----------- sleep() -> time.sleep()
Modified Paths: -------------- trunk/pywikipedia/flickrripper.py
Modified: trunk/pywikipedia/flickrripper.py =================================================================== --- trunk/pywikipedia/flickrripper.py 2010-01-21 17:47:24 UTC (rev 7887) +++ trunk/pywikipedia/flickrripper.py 2010-01-24 18:29:39 UTC (rev 7888) @@ -377,7 +377,7 @@ except flickrapi.exceptions.FlickrError: gotPhotos = False wikipedia.output(u'Flickr api problem, sleeping') - sleep(30) + time.sleep(30)
# http://www.flickr.com/services/api/flickr.photosets.getPhotos.html # Get the photos in a photoset @@ -403,7 +403,7 @@ except flickrapi.exceptions.FlickrError: gotPhotos = False wikipedia.output(u'Flickr api problem, sleeping') - sleep(30) + time.sleep(30)
# http://www.flickr.com/services/api/flickr.people.getPublicPhotos.html # Get the (public) photos uploaded by a user @@ -429,7 +429,7 @@ except flickrapi.exceptions.FlickrError: gotPhotos = False wikipedia.output(u'Flickr api problem, sleeping') - sleep(30) + time.sleep(30)
return