summaryrefslogtreecommitdiff
path: root/git/objects/submodule/base.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-16 14:19:27 -0600
committerHarmon <Harmon758@gmail.com>2020-02-16 14:19:27 -0600
commite4a83ff7910dc3617583da7e0965cd48a69bb669 (patch)
tree15d4da4ea741a3f9c10789df0dc9d5a900a81d14 /git/objects/submodule/base.py
parentb0a69bbec284bccbeecdf155e925c3046f024d4c (diff)
downloadgitpython-e4a83ff7910dc3617583da7e0965cd48a69bb669.tar.gz
Replace deprecated Logger.warn with Logger.warning
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r--git/objects/submodule/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py
index 97973a57..e929f9da 100644
--- a/git/objects/submodule/base.py
+++ b/git/objects/submodule/base.py
@@ -538,7 +538,7 @@ class Submodule(IndexObject, Iterable, Traversable):
mrepo.head.set_reference(local_branch, logmsg="submodule: attaching head to %s" % local_branch)
mrepo.head.ref.set_tracking_branch(remote_branch)
except (IndexError, InvalidGitRepositoryError):
- log.warn("Failed to checkout tracking branch %s", self.branch_path)
+ log.warning("Failed to checkout tracking branch %s", self.branch_path)
# END handle tracking branch
# NOTE: Have to write the repo config file as well, otherwise