summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/data_smart.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 5ffedebc27..e960327871 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -494,10 +494,10 @@ class DataSmart(MutableMapping):
494 494
495 if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var): 495 if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var):
496 info = "%s" % var 496 info = "%s" % var
497 if "filename" in loginfo: 497 if "file" in loginfo:
498 info += " file: %s" % loginfo[filename] 498 info += " file: %s" % loginfo["file"]
499 if "lineno" in loginfo: 499 if "line" in loginfo:
500 info += " line: %s" % loginfo[lineno] 500 info += " line: %s" % loginfo["line"]
501 bb.fatal("Variable %s contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake." % info) 501 bb.fatal("Variable %s contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake." % info)
502 502
503 self.expand_cache = {} 503 self.expand_cache = {}