diff options
Diffstat (limited to 'scripts/lib/recipetool/create_go.py')
-rw-r--r-- | scripts/lib/recipetool/create_go.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/recipetool/create_go.py b/scripts/lib/recipetool/create_go.py index a85a2f2786..5cc53931f0 100644 --- a/scripts/lib/recipetool/create_go.py +++ b/scripts/lib/recipetool/create_go.py | |||
@@ -14,7 +14,7 @@ from collections import namedtuple | |||
14 | from enum import Enum | 14 | from enum import Enum |
15 | from html.parser import HTMLParser | 15 | from html.parser import HTMLParser |
16 | from recipetool.create import RecipeHandler, handle_license_vars | 16 | from recipetool.create import RecipeHandler, handle_license_vars |
17 | from recipetool.create import guess_license, tidy_licenses, fixup_license | 17 | from recipetool.create import find_licenses, tidy_licenses, fixup_license |
18 | from recipetool.create import determine_from_url | 18 | from recipetool.create import determine_from_url |
19 | from urllib.error import URLError, HTTPError | 19 | from urllib.error import URLError, HTTPError |
20 | 20 | ||
@@ -624,7 +624,7 @@ class GoRecipeHandler(RecipeHandler): | |||
624 | 624 | ||
625 | licenses = [] | 625 | licenses = [] |
626 | lic_files_chksum = [] | 626 | lic_files_chksum = [] |
627 | licvalues = guess_license(tmp_vendor_dir, d) | 627 | licvalues = find_licenses(tmp_vendor_dir, d) |
628 | shutil.rmtree(tmp_vendor_dir) | 628 | shutil.rmtree(tmp_vendor_dir) |
629 | 629 | ||
630 | if licvalues: | 630 | if licvalues: |