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

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
bzr-import-20160707
Adam D. Barratt 15 years ago
parent 5f3a747a78
commit 6cba51fa55

@ -794,6 +794,10 @@ class Britney:
z[a] = b z[a] = b
hints[x] = z 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 return hints
def write_heidi(self, filename): def write_heidi(self, filename):

Loading…
Cancel
Save