diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 4335e7a0d8..8e5342f494 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -969,6 +969,7 @@ def get_file_checksums(filelist, pn): | |||
969 | checksum = checksum_file(f) | 969 | checksum = checksum_file(f) |
970 | if checksum: | 970 | if checksum: |
971 | checksums.append((f, checksum)) | 971 | checksums.append((f, checksum)) |
972 | continue | ||
972 | elif os.path.isdir(pth): | 973 | elif os.path.isdir(pth): |
973 | # Handle directories | 974 | # Handle directories |
974 | for root, dirs, files in os.walk(pth): | 975 | for root, dirs, files in os.walk(pth): |
@@ -977,6 +978,7 @@ def get_file_checksums(filelist, pn): | |||
977 | checksum = checksum_file(fullpth) | 978 | checksum = checksum_file(fullpth) |
978 | if checksum: | 979 | if checksum: |
979 | checksums.append((fullpth, checksum)) | 980 | checksums.append((fullpth, checksum)) |
981 | continue | ||
980 | else: | 982 | else: |
981 | checksum = checksum_file(pth) | 983 | checksum = checksum_file(pth) |
982 | 984 | ||