From 1c38f19fb8da2e6c55394162d0142e7146387e54 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 13 Dec 2010 10:03:55 -0700 Subject: [PATCH] Silence python 2.7 nested context manager warning Signed-off-by: Chris Larson --- bin/bitbake | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/bitbake b/bin/bitbake index 540a5a2e11b..58dc1bd6754 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -73,6 +73,7 @@ warnings.filterwarnings("default", module="($|(oe|bb)\.)") warnings.filterwarnings("ignore", category=PendingDeprecationWarning) warnings.filterwarnings("ignore", category=ImportWarning) warnings.filterwarnings("ignore", category=DeprecationWarning, module="$") +warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers") def main(): -- 2.47.3