astropy/astropy — pull request #481 by eteq (2012-11-16 00:36:05+00:00)
Title: utils.data fixes

This is a few fixes in `utils.data` spurred by #480. This should now let `data.clear_data_cache` cache work correctly (although note that it has been renamed `data.clear_download_cache`).

@pllim, can you confirm that this fixes #480 for you? (although again not that it should now be modified to be `clear_download_cache` instead of `clear_data_cache`.

@astrofrog, you might want to look at this, as it deals with some of the changes from #425. Mostly cosmetic, in that it changes "data" to "download" to reflect the broader scope of the cache now. But there was one place where it seemed the cache option was not going through (incorrectly, I believe).