diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-09 17:11:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:55 -0800 |
commit | bfd0a39bdf13f6953810bf868022a871d2a20b6d (patch) | |
tree | e3c3fddc611afb3e70d6fae68e7cbdc42e1fe796 /scripts/lib/recipetool/create.py | |
parent | e758547db9048d4aa1c1415d6af8072f519fae24 (diff) | |
download | poky-bfd0a39bdf13f6953810bf868022a871d2a20b6d.tar.gz |
classes: Drop now unneeded update_data calls
Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.
(From OE-Core rev: 8de0c5d3bd01919e2bf0394f9c485936d6098cec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 5bd3853794..1be3f14f86 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -348,7 +348,6 @@ def supports_srcrev(uri): | |||
348 | # This is a bit sad, but if you don't have this set there can be some | 348 | # This is a bit sad, but if you don't have this set there can be some |
349 | # odd interactions with the urldata cache which lead to errors | 349 | # odd interactions with the urldata cache which lead to errors |
350 | localdata.setVar('SRCREV', '${AUTOREV}') | 350 | localdata.setVar('SRCREV', '${AUTOREV}') |
351 | bb.data.update_data(localdata) | ||
352 | try: | 351 | try: |
353 | fetcher = bb.fetch2.Fetch([uri], localdata) | 352 | fetcher = bb.fetch2.Fetch([uri], localdata) |
354 | urldata = fetcher.ud | 353 | urldata = fetcher.ud |