diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 150dc3c18f..47463561e3 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -30,6 +30,7 @@ from __future__ import print_function | |||
30 | import os, re | 30 | import os, re |
31 | import logging | 31 | import logging |
32 | import urllib | 32 | import urllib |
33 | import operator | ||
33 | import bb.persist_data, bb.utils | 34 | import bb.persist_data, bb.utils |
34 | import bb.checksum | 35 | import bb.checksum |
35 | from bb import data | 36 | from bb import data |
@@ -729,7 +730,7 @@ def get_file_checksums(filelist, pn): | |||
729 | if checksum: | 730 | if checksum: |
730 | checksums.append((pth, checksum)) | 731 | checksums.append((pth, checksum)) |
731 | 732 | ||
732 | checksums.sort() | 733 | checksums.sort(key=operator.itemgetter(1)) |
733 | return checksums | 734 | return checksums |
734 | 735 | ||
735 | 736 | ||