summaryrefslogtreecommitdiffstats
path: root/bitbake
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-08 08:48:54 +0000
commit869ae2ce2a9940644c0b591ec9432281bafafa0a (patch)
treefb420e7e561b972f92141b60eb5d6d0838f75493 /bitbake
parent89c323417b9d94ccb1cf5c81aeea977b4375dab5 (diff)
downloadpoky-869ae2ce2a9940644c0b591ec9432281bafafa0a.tar.gz
bitbake: 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. (Bitbake rev: bd4b9e4460b60f142c3bf346fb04e360e512eaee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/event.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 52072b5805..5d0049626d 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -449,12 +449,6 @@ class BuildBase(Event):
449 def setName(self, name): 449 def setName(self, name):
450 self._name = name 450 self._name = name
451 451
452 def getCfg(self):
453 return self.data
454
455 def setCfg(self, cfg):
456 self.data = cfg
457
458 def getFailures(self): 452 def getFailures(self):
459 """ 453 """
460 Return the number of failed packages 454 Return the number of failed packages
@@ -463,9 +457,6 @@ class BuildBase(Event):
463 457
464 pkgs = property(getPkgs, setPkgs, None, "pkgs property") 458 pkgs = property(getPkgs, setPkgs, None, "pkgs property")
465 name = property(getName, setName, None, "name property") 459 name = property(getName, setName, None, "name property")
466 cfg = property(getCfg, setCfg, None, "cfg property")
467
468
469 460
470class BuildInit(BuildBase): 461class BuildInit(BuildBase):
471 """buildFile or buildTargets was invoked""" 462 """buildFile or buildTargets was invoked"""