[bitbake-devel] bitbake: cache: Fix error message with bad multiconfig

Submitted by Joshua Watt on June 12, 2020, 5:37 p.m. | Patch ID: 173527

Details

Message ID 20200612173701.7595-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt June 12, 2020, 5:37 p.m.
The virtualfn variable is not defined, the filename is what should be
shown instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 bitbake/lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index be5ea6a8bd..c1e08511ba 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -727,7 +727,7 @@  class Cache(NoCache):
         if self.mc is not None:
             (fn, cls, mc) = virtualfn2realfn(filename)
             if mc:
-                self.logger.error("Unexpected multiconfig %s", virtualfn)
+                self.logger.error("Unexpected multiconfig %s", filename)
                 return
 
             vfn = realfn2virtual(fn, cls, self.mc)