diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index addeab66c5..088dd2ac23 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -903,13 +903,13 @@ def check_sanity_everybuild(status, d): | |||
903 | continue | 903 | continue |
904 | 904 | ||
905 | if mirror.startswith('file://'): | 905 | if mirror.startswith('file://'): |
906 | import urlparse | 906 | import urllib |
907 | check_symlink(urlparse.urlparse(mirror).path, d) | 907 | check_symlink(urllib.parse.urlparse(mirror).path, d) |
908 | # SSTATE_MIRROR ends with a /PATH string | 908 | # SSTATE_MIRROR ends with a /PATH string |
909 | if mirror.endswith('/PATH'): | 909 | if mirror.endswith('/PATH'): |
910 | # remove /PATH$ from SSTATE_MIRROR to get a working | 910 | # remove /PATH$ from SSTATE_MIRROR to get a working |
911 | # base directory path | 911 | # base directory path |
912 | mirror_base = urlparse.urlparse(mirror[:-1*len('/PATH')]).path | 912 | mirror_base = urllib.parse.urlparse(mirror[:-1*len('/PATH')]).path |
913 | check_symlink(mirror_base, d) | 913 | check_symlink(mirror_base, d) |
914 | 914 | ||
915 | # Check that TMPDIR hasn't changed location since the last time we were run | 915 | # Check that TMPDIR hasn't changed location since the last time we were run |