diff mbox series

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

Message ID GV1PR07MB9120F25EE86DFDB0CF63AD9FA8742@GV1PR07MB9120.eurprd07.prod.outlook.com
State New
Headers show
Series bb/data_smart: better old override syntax check | expand

Commit Message

Konrad Weihmann Sept. 28, 2024, 7 a.m. UTC
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
---
  lib/bb/data_smart.py | 2 --
  1 file changed, 2 deletions(-)

                      # 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
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