diff mbox series

command: fix needconfig for revalidateCaches

Message ID 20241106201858.1689813-1-yoann.congal@smile.fr
State Accepted, archived
Commit d371df029ece3b9e600a89d08337c437a8ddbf63
Headers show
Series command: fix needconfig for revalidateCaches | expand

Commit Message

Yoann Congal Nov. 6, 2024, 8:18 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

Fixes what looked like a type since parseConfiguration.needconfig is
already set just after parseConfiguration() definition.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
Note: Only tested bitbake-selftest, I have not checked if this code is
covered by tests.
---
 lib/bb/command.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/bb/command.py b/lib/bb/command.py
index 1fcb9bf14..695277f1e 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -310,7 +310,7 @@  class CommandsSync:
     def revalidateCaches(self, command, params):
         """Called by UI clients when metadata may have changed"""
         command.cooker.revalidateCaches()
-    parseConfiguration.needconfig = False
+    revalidateCaches.needconfig = False
 
     def getRecipes(self, command, params):
         try: