astropy/astroquery — pull request #262 by loicseguin (2013-12-06 23:24:39+00:00)
Title: Handle timeout in FileContainer

This PR adds a check for timeouts in `FileContainer.get_string()` so that using this class automatically takes care of rising the appropriate exception when a timeout occurs.

The functionality provided by `FileContainer` for downloading files is then analogous to the one provided by `send_request` for handling queries, i.e., both utilities ensure that functions using them are compliant with the astroquery API with respect to timeouts.