[bitbake-devel] [PATCH] bitbake: remove the function for reparse because it does nothing

Cristiana Voicu cristiana.voicu at intel.com
Wed Jun 19 14:23:28 UTC 2013


The command for reparse does nothing, so I have managed to remove it,
because it can be misleading. When a reparse is needed, it can be used
the parse function.

Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
---
 bitbake/lib/bb/command.py |    8 --------
 bitbake/lib/bb/cooker.py  |    3 ---
 2 files changed, 11 deletions(-)

diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 9ddb96d..9f333ac 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -368,14 +368,6 @@ class CommandsAsync:
         command.finishAsyncCommand()
     parseFiles.needcache = True
 
-    def reparseFiles(self, command, params):
-        """
-        Reparse .bb files
-        """
-        command.cooker.reparseFiles()
-        command.finishAsyncCommand()
-    reparseFiles.needcache = True
-
     def compareRevisions(self, command, params):
         """
         Parse the .bb files
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index e1b33f1..c4c0dd8 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1199,9 +1199,6 @@ class BBCooker:
     def stop(self):
         self.state = state.stop
 
-    def reparseFiles(self):
-        return
-
     def initialize(self):
         self.state = state.initial
         self.initConfigurationData()
-- 
1.7.9.5




More information about the bitbake-devel mailing list