diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 8e34b0c2bd..5a15147e67 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -50,12 +50,12 @@ class Wget(FetchMethod): | |||
50 | 50 | ||
51 | def fetch_uri(uri, ud, d): | 51 | def fetch_uri(uri, ud, d): |
52 | if checkonly: | 52 | if checkonly: |
53 | fetchcmd = data.getVar("CHECKCOMMAND", d, 1) | 53 | fetchcmd = data.getVar("CHECKCOMMAND", d, True) |
54 | elif os.path.exists(ud.localpath): | 54 | elif os.path.exists(ud.localpath): |
55 | # file exists, but we didnt complete it.. trying again.. | 55 | # file exists, but we didnt complete it.. trying again.. |
56 | fetchcmd = data.getVar("RESUMECOMMAND", d, 1) | 56 | fetchcmd = data.getVar("RESUMECOMMAND", d, True) |
57 | else: | 57 | else: |
58 | fetchcmd = data.getVar("FETCHCOMMAND", d, 1) | 58 | fetchcmd = data.getVar("FETCHCOMMAND", d, True) |
59 | 59 | ||
60 | uri = uri.split(";")[0] | 60 | uri = uri.split(";")[0] |
61 | uri_decoded = list(decodeurl(uri)) | 61 | uri_decoded = list(decodeurl(uri)) |