From d14385702aef19d0770411d31b700035b6400056 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 May 2013 21:14:06 +0000 Subject: [PATCH] bitbake: cooker: Remove deprecated operator The <> operator is deprecated, replace with !=. (Bitbake rev: 4a43e58dd97ec6ea304eaa727c030973a5bc91b7) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 2c54209..6d448b4 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1052,7 +1052,7 @@ class BBCooker: parselog.error("invalid value for LAYERVERSION_%s: \"%s\"", c, layerver) errors = True continue - if lver <> depver: + if lver != depver: parselog.error("Layer '%s' depends on version %d of layer '%s', but version %d is enabled in your configuration", c, depver, dep, lver) errors = True else: -- 2.7.4