[oe-commits] [bitbake] branch master updated: fetch2/__init__.py: replace stray logger.warn() with logger.warning()

git at git.openembedded.org git at git.openembedded.org
Tue Jul 25 22:16:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
     new 1b14f11  fetch2/__init__.py: replace stray logger.warn() with logger.warning()
1b14f11 is described below

commit 1b14f115a9e929e29e91e8ac70826a3fe7259961
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Tue Jul 25 14:30:01 2017 -0700

    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
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 74ba37f..a78279c 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -1033,7 +1033,7 @@ def try_mirror_url(fetch, origud, ud, ld, check = False):
 
     except IOError as e:
         if e.errno in [os.errno.ESTALE]:
-            logger.warn("Stale Error Observed %s." % ud.url)
+            logger.warning("Stale Error Observed %s." % ud.url)
             return False
         raise
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list