Print a warning if there are no unblock{,-udeb} hints

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2010-02-28 14:44:37 +00:00
parent 5f3a747a78
commit 6cba51fa55

View File

@ -794,6 +794,10 @@ class Britney:
z[a] = b
hints[x] = z
# Sanity check the hints hash
if len(hints["block"]) == 0 and len(hints["block-udeb"]) == 0:
self.__log("WARNING: No block hints at all, not even udeb ones!", type="W")
return hints
def write_heidi(self, filename):