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>
This commit is contained in:
Paul Eggleton 2013-09-05 00:30:04 +01:00
parent 8b6b40018a
commit 157656cec9

View File

@ -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)