download: factorize the code and fix logging
The compression is not taken into account when the key is "ramdisk". The
logging was wrong by indicating that the file is decompressed (while it's not).
Also improve _url_to_fname by using self.
Signed-off-by:
Rémi Duraffort <remi.duraffort@linaro.org>
Please register or sign in to comment