aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2011-02-16 11:06:20 +0000
committerSteffen Sledz <sledz@dresearch.de>2011-02-25 08:48:40 +0100
commit63e8023a656ee9dca2b29a635b7ef8e733c9ae20 (patch)
tree8b94a750ce74ab236690617e217801b9243eedb2 /lib
parent4cdc46ac34cf4374f20bf4eb950380377ffb95f5 (diff)
downloadopenembedded-63e8023a656ee9dca2b29a635b7ef8e733c9ae20.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.py2
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: