summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_go.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/create_go.py')
-rw-r--r--scripts/lib/recipetool/create_go.py4
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
14from enum import Enum 14from enum import Enum
15from html.parser import HTMLParser 15from html.parser import HTMLParser
16from recipetool.create import RecipeHandler, handle_license_vars 16from recipetool.create import RecipeHandler, handle_license_vars
17from recipetool.create import guess_license, tidy_licenses, fixup_license 17from recipetool.create import find_licenses, tidy_licenses, fixup_license
18from recipetool.create import determine_from_url 18from recipetool.create import determine_from_url
19from urllib.error import URLError, HTTPError 19from 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: