patchupdate.py: Warn when if no patches are found in a directory

This commit is contained in:
Alistair Leslie-Hughes 2018-04-10 10:57:40 +10:00
parent a596208a7f
commit 22f1c6b57f

View File

@ -219,6 +219,7 @@ def load_patchsets():
# No single patch within this directory, ignore it
if len(patch.patches) == 0:
print "WARNING: No patches found in directory %s" % (directory)
del patch
continue