1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-17 04:07:06 +00:00

Fix 7 references to undefined variables, as spotted by pyflakes

(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson
2010-03-24 17:48:49 -07:00
committed by Richard Purdie
parent c6940a9795
commit 6028daedcb
4 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ def encodeurl(decoded):
(type, host, path, user, pswd, p) = decoded
if not type or not path:
fatal("invalid or missing parameters for url encoding")
bb.msg.fatal(bb.msg.domain.Fetcher, "invalid or missing parameters for url encoding")
url = '%s://' % type
if user:
url += "%s" % user
@@ -477,7 +477,7 @@ def try_mirrors(d, uri, mirrors, check = False):
try:
ud = FetchData(newuri, ld)
except bb.fetch.NoMethodError:
bb.msg.debug(1, bb.msg.domain.Fetcher, "No method for %s" % url)
bb.msg.debug(1, bb.msg.domain.Fetcher, "No method for %s" % uri)
continue
ud.setup_localpath(ld)