aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/update.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-05 00:30:04 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-05 00:31:23 +0100
commit157656cec9ecf07ba0db20ba2ecd7d889d3555b0 (patch)
treef0733c23ee1531a3a318a64756d065098d4367c6 /layerindex/update.py
parent8b6b40018a817da6e5e4f08711ce49877a266e40 (diff)
downloadopenembedded-core-contrib-157656cec9ecf07ba0db20ba2ecd7d889d3555b0.tar.gz
update.py: hide DeprecationWarnings
These are just annoying if the script is called from a cron job. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-xlayerindex/update.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/layerindex/update.py b/layerindex/update.py
index 096c23e8b5..89f41f9078 100755
--- a/layerindex/update.py
+++ b/layerindex/update.py
@@ -20,6 +20,9 @@ from distutils.version import LooseVersion
import utils
import recipeparse
+import warnings
+warnings.filterwarnings("ignore", category=DeprecationWarning)
+
logger = utils.logger_create('LayerIndexUpdate')
# Ensure PythonGit is installed (buildhistory_analysis needs it)