[oe-commits] [openembedded-core] 01/06: wic: Remove the unused variable Partition.sourceparams_dict
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 15 09:03:43 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit a27952275aed122ce8b64a348a758362961f3134
Author: Kevin Hao <kexin.hao at windriver.com>
AuthorDate: Tue Aug 14 09:31:21 2018 +0800
wic: Remove the unused variable Partition.sourceparams_dict
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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 c73af9d..5054779 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):
"""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list