diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index cf8bee7382..8185bf4db0 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -318,7 +318,7 @@ class Git(FetchMethod): | |||
318 | def try_premirror(self, ud, d): | 318 | def try_premirror(self, ud, d): |
319 | # If we don't do this, updating an existing checkout with only premirrors | 319 | # If we don't do this, updating an existing checkout with only premirrors |
320 | # is not possible | 320 | # is not possible |
321 | if d.getVar("BB_FETCH_PREMIRRORONLY") is not None: | 321 | if bb.utils.to_boolean(d.getVar("BB_FETCH_PREMIRRORONLY")): |
322 | return True | 322 | return True |
323 | if os.path.exists(ud.clonedir): | 323 | if os.path.exists(ud.clonedir): |
324 | return False | 324 | return False |