summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 439a44a4a..c584f48ad 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -1497,7 +1497,7 @@ class Fetch(object):
ud = self.ud[url]
ud.setup_localpath(self.d)
- if not ud.localfile or self.localpath is None:
+ if not ud.localfile and ud.localpath is None:
continue
if ud.lockfile: