diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 9cb702dbb7..b652a6838a 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -121,6 +121,10 @@ def vercmp_part(a, b): | |||
121 | return -1 | 121 | return -1 |
122 | elif oa > ob: | 122 | elif oa > ob: |
123 | return 1 | 123 | return 1 |
124 | elif ca is None: | ||
125 | return -1 | ||
126 | elif cb is None: | ||
127 | return 1 | ||
124 | elif ca < cb: | 128 | elif ca < cb: |
125 | return -1 | 129 | return -1 |
126 | elif ca > cb: | 130 | elif ca > cb: |