]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
log.warn is deprecated, using log.warning
authorAlex Morega <alex@grep.ro>
Sun, 7 Jul 2013 20:35:36 +0000 (22:35 +0200)
committerAlex Morega <alex@grep.ro>
Sun, 7 Jul 2013 21:32:58 +0000 (23:32 +0200)
babel/messages/frontend.py

index 665f3dd601d28164ae0f473779c2c174118b96cc..8bd636b93d480b705949ebe03dcef200ea6c7af1 100755 (executable)
@@ -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():