diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 17:48:49 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:25:56 +0000 |
commit | 6028daedcb2e3eeab8bb7c725de4303b03625ed8 (patch) | |
tree | 0b0f74bb6767b6853bef46424882b3b7fc2aafc9 /bitbake/lib/bb/fetch | |
parent | c6940a97958be1d9981a3b5fb3ae27f74414e57f (diff) | |
download | openembedded-core-6028daedcb2e3eeab8bb7c725de4303b03625ed8.tar.gz openembedded-core-6028daedcb2e3eeab8bb7c725de4303b03625ed8.tar.bz2 openembedded-core-6028daedcb2e3eeab8bb7c725de4303b03625ed8.tar.xz openembedded-core-6028daedcb2e3eeab8bb7c725de4303b03625ed8.zip |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index 5616c79ab..e6cc1c535 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py @@ -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) |