[anaconda][master][v2][PATCH] Replace urlgrabber usage by python-requests

Martin Kolman mkolman at redhat.com
Fri Jan 23 19:38:56 UTC 2015


Changes from v1:
* pass stream=True, to requests so that the file is not downloaded to memory first (oops!)
* call flush() on the file object so that it does not swamp the cache too much
* log the start and end of the image download operation



Martin Kolman (1):
  Replace python-urlgrabber with python-requests (#1141242)

 anaconda.spec.in                    |  5 ++-
 pyanaconda/kickstart.py             | 13 ++++---
 pyanaconda/packaging/__init__.py    | 36 ++++++++++----------
 pyanaconda/packaging/livepayload.py | 67 ++++++++++++++++++++-----------------
 4 files changed, 65 insertions(+), 56 deletions(-)

-- 
2.1.0



More information about the anaconda-patches mailing list