logger: Remove deprecation warning reported by pytest

dvc/logger.py:113: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
This commit is contained in:
Mr. Outis
2018-10-24 00:17:58 -05:00
parent d5470419ce
commit 0ec77180d4
+1 -1
View File
@@ -142,7 +142,7 @@ class Logger(object):
@classmethod
def warn(cls, msg, exc=None):
cls._with_exc(cls.logger().warn, cls.warning_prefix() + msg, exc=exc)
cls._with_exc(cls.logger().warning, cls.warning_prefix() + msg, exc=exc)
@classmethod
def debug(cls, msg, exc=None):