Errors returned from --update-use-local-desc and --update-changelogs
are no longer ignored with --tolerant. This will fix part of
bug #354687.
max_load=options.load_average,
rsync=options.rsync)
gen_cache.run()
- ret.append(gen_cache.returncode)
+ if options.tolerant:
+ ret.append(os.EX_OK)
+ else:
+ ret.append(gen_cache.returncode)
if options.update_use_local_desc:
gen_desc = GenUseLocalDesc(portdb,
gen_clogs.run()
ret.append(gen_clogs.returncode)
- if options.tolerant:
- return ret[0]
return max(ret)
if __name__ == "__main__":