[poky] [PATCH 1/6] wic: Remove the unused variable Partition.sourceparams_dict
Kevin Hao
kexin.hao at windriver.com
Mon Aug 13 18:31:21 PDT 2018
We choose to pass the source parameters to the source plugins' hooks
via a local variable srcparams_dict. So the Partition.sourceparams_dict
is not used by anyone and seems pretty confused. So drop it.
Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
scripts/lib/wic/partition.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index c73af9d4275e..5054779b1b6b 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -66,7 +66,6 @@ class Partition():
self.lineno = lineno
self.source_file = ""
- self.sourceparams_dict = {}
def get_extra_block_count(self, current_blocks):
"""
--
2.14.4
More information about the poky
mailing list