diff mbox series

[v4,1/3] bb/data_smart: remove dead code

Message ID GV1PR07MB91208331D8081625E6258F97A8712@GV1PR07MB9120.eurprd07.prod.outlook.com
State New
Headers show
Series [v4,1/3] bb/data_smart: remove dead code | expand

Commit Message

Konrad Weihmann Oct. 3, 2024, 8:13 a.m. UTC
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
---
  lib/bb/data_smart.py | 2 --
  1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index c6049d578..4e15a43c2 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -320,7 +320,6 @@  class VariableHistory(object):
              else:
                  o.write("#\n# $%s [%d operations]\n" % (var, len(history)))
              for event in history:
-                # o.write("# %s\n" % str(event))
                  if 'func' in event:
                      # If we have a function listed, this is internal
                      # code, not an operation in a config file, and the
@@ -540,7 +539,6 @@  class DataSmart(MutableMapping):
          return var in self.overridedata
  
      def setVar(self, var, value, **loginfo):
-        #print("var=" + str(var) + "  val=" + str(value))
  
          if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var):
              info = "%s" % var