diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-09 01:23:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:37:56 +0000 |
commit | 2bc5a251005a96e816d6a958094b292afa6d1efe (patch) | |
tree | 5278cfb533fdad5dffd0893a38a5216fb9911d37 /lib/bb/fetch2 | |
parent | 3372d84fa90ba51e8b2cd4557ee5ce501d0c6bf7 (diff) | |
download | bitbake-2bc5a251005a96e816d6a958094b292afa6d1efe.tar.gz |
bitbake/fetch2: Fix negated if check for BB_FETCH_PREMIRRORONLY
(From Poky rev: 29ed2c6e9a0c3cc57c5bbaf3c53e1cff8586c51c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2')
-rw-r--r-- | lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 9a4acc2ed..ef9d75f3f 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -872,7 +872,7 @@ class Fetch(object): mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True)) localpath = try_mirrors(self.d, ud, mirrors, False) - if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is None: + if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is not None: bb.data.setVar("BB_NO_NETWORK", "1", self.d) if not localpath and m.need_update(u, ud, self.d): |