diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2011-02-16 11:06:20 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-18 13:00:42 -0700 |
commit | a07e7b983aae3a03a69155cacda12eebf384153b (patch) | |
tree | 6b230e5ecbfbeed03e6024892d15ace1149ebdf5 /lib | |
parent | 30535972a51ef992c22876c9aada4357e53bd7a0 (diff) | |
download | openembedded-a07e7b983aae3a03a69155cacda12eebf384153b.tar.gz |
utils.py: use bb.utils.vercmp_string instead of bb.vercmp
* Fixes deprecation warning with BitBake master.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
CC: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oe/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oe/utils.py b/lib/oe/utils.py index f7d2946a6a..edd0e5074b 100644 --- a/lib/oe/utils.py +++ b/lib/oe/utils.py @@ -35,7 +35,7 @@ def less_or_equal(variable, checkvalue, truevalue, falsevalue, d): return falsevalue def version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d): - result = bb.vercmp(bb.data.getVar(variable,d,True), checkvalue) + result = bb.utils.vercmp_string(bb.data.getVar(variable,d,True), checkvalue) if result <= 0: return truevalue else: |