diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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 27e061d794..e04a236606 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -891,13 +891,13 @@ def check_sanity_everybuild(status, d): | |||
891 | continue | 891 | continue |
892 | 892 | ||
893 | if mirror.startswith('file://'): | 893 | if mirror.startswith('file://'): |
894 | import urlparse | 894 | import urllib |
895 | check_symlink(urlparse.urlparse(mirror).path, d) | 895 | check_symlink(urllib.parse.urlparse(mirror).path, d) |
896 | # SSTATE_MIRROR ends with a /PATH string | 896 | # SSTATE_MIRROR ends with a /PATH string |
897 | if mirror.endswith('/PATH'): | 897 | if mirror.endswith('/PATH'): |
898 | # remove /PATH$ from SSTATE_MIRROR to get a working | 898 | # remove /PATH$ from SSTATE_MIRROR to get a working |
899 | # base directory path | 899 | # base directory path |
900 | mirror_base = urlparse.urlparse(mirror[:-1*len('/PATH')]).path | 900 | mirror_base = urllib.parse.urlparse(mirror[:-1*len('/PATH')]).path |
901 | check_symlink(mirror_base, d) | 901 | check_symlink(mirror_base, d) |
902 | 902 | ||
903 | # Check that TMPDIR hasn't changed location since the last time we were run | 903 | # Check that TMPDIR hasn't changed location since the last time we were run |