Added Fetch.download_url
commit2da33e03be7293f7c555915eec484a035cd894f5
authorThomas Leonard <talex5@gmail.com>
Mon, 12 Dec 2011 18:37:12 +0000 (12 18:37 +0000)
committerThomas Leonard <talex5@gmail.com>
Mon, 12 Dec 2011 19:15:24 +0000 (12 19:15 +0000)
treee0ff2fece72156bade74cd513c377000baca5ff1
parentc5576e38851d1dbd747b9c1360ffed785b624870
Added Fetch.download_url

This replaces Handler.get_download. It is:

- a better named
- more sensibly located
- has access to config

The factory argument is gone (if someone doesn't want a Download, they might
as well make it themselves), and so is the unused force argument (since we
always start a new download anyway).
tests/basetest.py
zeroinstall/cmd/import.py
zeroinstall/injector/fetch.py
zeroinstall/injector/handler.py
zeroinstall/injector/iface_cache.py