armel is actually available, but the script should still not fail
for missing wanna build dumps, but print warnings.
filename = "%s/%s-all.txt" % (Cnf["Cruft-Report::Options::Wanna-Build-Dump"], architecture)
- # Not all architectures have a wanna-build dump, for example armel at the time of writing
+ # Not all architectures may have a wanna-build dump, so we want to ignore missin
+ # files
if os.path.exists(filename):
f = utils.open_file(filename)
for line in f:
ret.add(m.group(1))
f.close()
+ else:
+ warn("No wanna-build dump file for architecture %s", architecture)
return ret
################################################################################