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

login
register
mail settings
Submitter Cristiana Voicu
Date June 19, 2013, 2:23 p.m.
Message ID <1371651808-11367-1-git-send-email-cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/52017/
State New
Headers show

Comments

Cristiana Voicu - June 19, 2013, 2:23 p.m.
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@intel.com>
---
 bitbake/lib/bb/command.py |    8 --------
 bitbake/lib/bb/cooker.py  |    3 ---
 2 files changed, 11 deletions(-)

Patch

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()