diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-04 14:40:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 09:06:37 +0000 |
commit | 7202a77134029cb37540c785ce0161a4dd574853 (patch) | |
tree | e9b8d7d3c180260317b661ce0f325a5492d9a6db /bitbake/lib/bb/fetch2/wget.py | |
parent | 8f2abf4a9f000d42e98c4936e393bd5033a1af48 (diff) | |
download | poky-7202a77134029cb37540c785ce0161a4dd574853.tar.gz |
bitbake/fetch2: Use True instead of integer values
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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)) |