summaryrefslogtreecommitdiffstats
path: root/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r--lib/bb/siggen.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 7521a3a903..5ef82d7be0 100644
--- a/lib/bb/siggen.py
+++ b/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: