summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-07-25 14:30:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-25 23:15:53 +0100
commit961d2366de97da7f3ced1238d6268237fa0906e2 (patch)
tree0b5997e0530d9970cce1dea3fa6ffd98904c2e21 /bitbake/lib/bb/fetch2/__init__.py
parenta035d6563ea98b34a8e9465b4942a1fa43af0350 (diff)
downloadpoky-961d2366de97da7f3ced1238d6268237fa0906e2.tar.gz
bitbake: fetch2/__init__.py: replace stray logger.warn() with logger.warning()
Update stray usage of deprecated logger.warn(), which was introduced to fetch2/__init__.py after all other instances had been replaced by logger.warning(): http://git.openembedded.org/bitbake/commit/?id=5a53e7d7b017769a6eb0f0a6335735a1fe51a5ec http://git.openembedded.org/bitbake/commit/?id=676a5f592e8507e81b8f748d58acfea7572f8796 (Bitbake rev: 1b14f115a9e929e29e91e8ac70826a3fe7259961) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 74ba37f458..a78279cb93 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1033,7 +1033,7 @@ def try_mirror_url(fetch, origud, ud, ld, check = False):
1033 1033
1034 except IOError as e: 1034 except IOError as e:
1035 if e.errno in [os.errno.ESTALE]: 1035 if e.errno in [os.errno.ESTALE]:
1036 logger.warn("Stale Error Observed %s." % ud.url) 1036 logger.warning("Stale Error Observed %s." % ud.url)
1037 return False 1037 return False
1038 raise 1038 raise
1039 1039