diff options
Diffstat (limited to 'meta/lib/oe/distro_check.py')
-rw-r--r-- | meta/lib/oe/distro_check.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 88e46c354d..3494520f40 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py | |||
@@ -1,4 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | 4 | # SPDX-License-Identifier: GPL-2.0-only |
3 | # | 5 | # |
4 | 6 | ||
@@ -26,7 +28,7 @@ def find_latest_numeric_release(url, d): | |||
26 | maxstr="" | 28 | maxstr="" |
27 | for link in get_links_from_url(url, d): | 29 | for link in get_links_from_url(url, d): |
28 | try: | 30 | try: |
29 | # TODO use LooseVersion | 31 | # TODO use bb.utils.vercmp_string_op() |
30 | release = float(link) | 32 | release = float(link) |
31 | except: | 33 | except: |
32 | release = 0 | 34 | release = 0 |