[bitbake-devel,2/2] data_smart: skip all interal (underscored) flags in getVarFlags

Submitted by Ross Burton on Aug. 21, 2012, 4:16 p.m.

Details

Message ID 1345565786-23409-2-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

Ross Burton Aug. 21, 2012, 4:16 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 bitbake/lib/bb/data_smart.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index dbfcefb..f5f3b13 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -379,7 +379,7 @@  class DataSmart(MutableMapping):
 
         if local_var:
             for i in local_var:
-                if i == "_content":
+                if i.startswith("_"):
                     continue
                 flags[i] = local_var[i]