Commit c578c657 authored by Alexandre Detiste's avatar Alexandre Detiste

Only try to download once remote files that have changed.

WARNING:game_data_packager.build:File doesn't have expected size (13419798 vs 19585198),
 skipping http://sourceforge.net/project/downloading.php?group_id=124987&filename=hexen2demo_nov1997-linux-i586.tgz
WARNING:game_data_packager.build:File doesn't have expected size (13419798 vs 19585198),
 skipping http://sourceforge.net/project/downloading.php?group_id=124987&filename=hexen2demo_nov1997-linux-i586.tgz
parent c3ab9cd1
game-data-packager (51) UNRELEASED; urgency=medium
* Enhancements and bug fixes:
- Only try once to download files which have changed [adetiste]
-- Simon McVittie <smcv@debian.org> Thu, 04 May 2017 10:21:26
game-data-packager (50) experimental; urgency=medium
* New game support:
......
......@@ -782,6 +782,7 @@ class PackagingTask(object):
logger.warning("File doesn't have expected size"
" (%s vs %s), skipping %s",
size, wanted.size, url)
self.download_failed.add(url)
continue
if self.save_downloads is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment