From cebc230ae410fcd807d19ba94d603768153f2184 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 25 Jun 2019 04:39:09 +0300 Subject: [PATCH] import: don't use deprecated logger.warn() --- dvc/command/imp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/command/imp.py b/dvc/command/imp.py index 16e2beaf0..1687c1797 100644 --- a/dvc/command/imp.py +++ b/dvc/command/imp.py @@ -12,7 +12,7 @@ logger = logging.getLogger(__name__) class CmdImport(CmdBase): def run(self): - logger.warn( + logger.warning( "This is a beta feature! Do not use in the production! Old " "`dvc import` is now called `dvc import-url`, please use " "it instead."