[elbe-devel] [PATCH 0/2] fixups for debianinstaller download

Torben Hohn torben.hohn at linutronix.de
Wed Nov 21 13:08:03 CET 2018


Use wget, and also fix the case where 

try:
  x=urlopen() 
finally:
  x.close()

would try to close the undifined x when urlopen throws.

Torben Hohn (2):
  hashes debinstaller: use wget for downloads, because of improved
    feedback
  debinstaller: move sig=urlopen() out of try: finally: block

 elbepack/debinstaller.py | 10 ++++------
 elbepack/hashes.py       | 26 ++++----------------------
 2 files changed, 8 insertions(+), 28 deletions(-)

-- 
2.11.0




More information about the elbe-devel mailing list