bitbake: cooker: Remove deprecated operator
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 21:14:06 +0000 (21:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 21:28:04 +0000 (22:28 +0100)
The <> operator is deprecated, replace with !=.

(Bitbake rev: 4a43e58dd97ec6ea304eaa727c030973a5bc91b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py

index 2c54209..6d448b4 100644 (file)
@@ -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: