Don't fail when a package gets updated during a build

If there is a new version it's not a duplicate
This commit is contained in:
Christoph Reiter
2020-12-08 09:30:58 +01:00
parent 00f7657c4d
commit c220de72ed

View File

@@ -385,7 +385,7 @@ def run_build(args: Any) -> None:
if not todo:
break
pkg, build_type = todo[0]
key = pkg['repo'] + build_type + pkg['name']
key = pkg['repo'] + build_type + pkg['name'] + pkg['version']
if key in done:
raise SystemExit("ERROR: building package again in the same run", pkg)
done.add(key)