Skip to contentSkip to conversation

xmlrpc,events: cleanup stale code

PATCH New Alex DAMIAN 1 participant 1 message Jun 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xmlrpc,events: cleanup stale code

From: Alexandru DAMIAN <[email protected]>

This patch cleans up some stale code that isn't used anymore. The unused code obscures file readability.

---
 lib/bb/event.py         |  7 -------
 lib/bb/server/xmlrpc.py | 46 ----------------------------------------------
 2 files changed, 53 deletions(-)
lib/bb/event.py +0 -7
index 9c134ee..d8111f1 100644
@@ -294,12 +294,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
@@ -308,7 +302,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")
 
 
 
lib/bb/server/xmlrpc.py +0 -46

52 lines not on this page · raw message

Signature · 1 line
1.8.1.2