aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-07 11:56:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-07 11:57:48 +0000
commitbd4b9e4460b60f142c3bf346fb04e360e512eaee (patch)
treedf6cd86dbe625b29d368f418073562b8ae4c5e0b
parent643eacb162b8710330ef292bfda21cfeab97f95c (diff)
downloadbitbake-bd4b9e4460b60f142c3bf346fb04e360e512eaee.tar.gz
events: Drop unused cfg property
The cfg property on events doesn't add much, all code appears to access "data" at this point. Remove it to clean up the interface. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/event.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index 52072b580..5d0049626 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -449,12 +449,6 @@ class BuildBase(Event):
def setName(self, name):
self._name = name
- def getCfg(self):
- return self.data
-
- def setCfg(self, cfg):
- self.data = cfg
-
def getFailures(self):
"""
Return the number of failed packages
@@ -463,9 +457,6 @@ class BuildBase(Event):
pkgs = property(getPkgs, setPkgs, None, "pkgs property")
name = property(getName, setName, None, "name property")
- cfg = property(getCfg, setCfg, None, "cfg property")
-
-
class BuildInit(BuildBase):
"""buildFile or buildTargets was invoked"""