From 6684f1c8eef2c9ecd40229b72e6a93f5be2910a3 Mon Sep 17 00:00:00 2001 From: Alex Morega Date: Sun, 7 Jul 2013 22:35:36 +0200 Subject: [PATCH] log.warn is deprecated, using log.warning --- babel/messages/frontend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 665f3dd6..8bd636b9 100755 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -799,8 +799,8 @@ class CommandLineInterface(object): translated, len(catalog), percentage, po_file) if catalog.fuzzy and not options.use_fuzzy: - self.log.warn('catalog %r is marked as fuzzy, skipping', - po_file) + self.log.warning('catalog %r is marked as fuzzy, skipping', + po_file) continue for message, errors in catalog.check(): -- 2.47.2