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/git.py | |
parent | 8f2abf4a9f000d42e98c4936e393bd5033a1af48 (diff) | |
download | openembedded-core-contrib-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/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 38e2c93be4..35031d28c4 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -101,7 +101,7 @@ class Git(FetchMethod): else: username = "" - repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball) + repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball) ud.repochanged = not os.path.exists(repofile) @@ -138,7 +138,7 @@ class Git(FetchMethod): def build_mirror_data(self, url, ud, d): # Generate a mirror tarball if needed - repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball) + repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball) os.chdir(ud.clonedir) mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) |