diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 17:48:49 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-03-24 17:49:05 -0700 |
commit | e1e4ccf203e38070eeafd31a622671996cff61a1 (patch) | |
tree | ddbca122d9346e41f4b993259e231b30eddca2c9 /lib/bb/fetch/__init__.py | |
parent | 62983ad9b151ee8d51e8cf9a31c736c7813edf16 (diff) | |
download | bitbake-e1e4ccf203e38070eeafd31a622671996cff61a1.tar.gz |
Fix 7 references to undefined variables, as spotted by pyflakes
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/fetch/__init__.py')
-rw-r--r-- | lib/bb/fetch/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py index 6edb5e5fa..dbc9c8b51 100644 --- a/lib/bb/fetch/__init__.py +++ b/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) |