diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-09-04 21:03:12 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-05 15:00:49 +0100 |
commit | f16cab3e74712d0943d861949b9b439f97efdf1f (patch) | |
tree | 047c9519a53c80620f26c6fb165c8cd1cdf66500 /bitbake/lib | |
parent | 749513169f9e04835e8429b8e5a96ba6aefc7247 (diff) | |
download | openembedded-core-contrib-f16cab3e74712d0943d861949b9b439f97efdf1f.tar.gz |
bitbake: siggen: move reset() definition to base SignatureGenerator class
If we're implementing reset() in SignatureGenerator at all (and we need
to for a basic non-OE BitBake setup where that is the default signature
generator), then we need it to be clearing out the internal values
properly.
(Bitbake rev: 13f52d38fdbcb84c2a0c46f85baa44b22d53fdc1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 7521a3a903..5ef82d7be0 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -70,7 +70,8 @@ class SignatureGenerator(object): self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash = data def reset(self, data): - return + self.__init__(data) + class SignatureGeneratorBasic(SignatureGenerator): """ @@ -97,9 +98,6 @@ class SignatureGeneratorBasic(SignatureGenerator): else: self.checksum_cache = None - def reset(self, data): - self.__init__(data) - def init_rundepcheck(self, data): self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None if self.taskwhitelist: |