From e4a83ff7910dc3617583da7e0965cd48a69bb669 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 16 Feb 2020 14:19:27 -0600 Subject: Replace deprecated Logger.warn with Logger.warning --- git/objects/submodule/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/objects/submodule/root.py') diff --git a/git/objects/submodule/root.py b/git/objects/submodule/root.py index f2035e5b..0af48710 100644 --- a/git/objects/submodule/root.py +++ b/git/objects/submodule/root.py @@ -265,7 +265,7 @@ class RootModule(Submodule): # this way, it will be checked out in the next step # This will change the submodule relative to us, so # the user will be able to commit the change easily - log.warn("Current sha %s was not contained in the tracking\ + log.warning("Current sha %s was not contained in the tracking\ branch at the new remote, setting it the the remote's tracking branch", sm.hexsha) sm.binsha = rref.commit.binsha # END reset binsha -- cgit v1.2.1