summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-01-26 15:34:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-18 07:40:58 +0000
commit81bc1f20662c39ee8db1da45b1e8c7eb64abacf3 (patch)
treede46e65ca8331afc84d4c4c3dcc8f33a10246d12 /lib/bb/fetch2/__init__.py
parentcc4cfc2370297b8feb2dc39d4262e73adf06c09a (diff)
downloadopenembedded-core-contrib-81bc1f20662c39ee8db1da45b1e8c7eb64abacf3.tar.gz
bb/cache: drop some unused arguments
Drop unused 'd' argument from the cache save methods, simplifying the API. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index c3dcfd2ccb..83122e856c 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -515,13 +515,13 @@ def fetcher_init(d):
if hasattr(m, "init"):
m.init(d)
-def fetcher_parse_save(d):
- _checksum_cache.save_extras(d)
+def fetcher_parse_save():
+ _checksum_cache.save_extras()
-def fetcher_parse_done(d):
- _checksum_cache.save_merge(d)
+def fetcher_parse_done():
+ _checksum_cache.save_merge()
-def fetcher_compare_revisions(d):
+def fetcher_compare_revisions():
"""
Compare the revisions in the persistant cache with current values and
return true/false on whether they've changed.