commit | d94f8ea2b5458c36f10adaf46b53aba359d6a655 | [log] [tgz] |
---|---|---|
author | John Budorick <jbudorick@chromium.org> | Fri Mar 27 15:55:24 2020 +0000 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 27 15:55:24 2020 +0000 |
tree | 19ca56cf9d78dc7553b58ccc8081ed77ecef1448 | |
parent | 0dd5482c5254e0457062aad7b93954918ced54fd [diff] [blame] |
gclient: update logging.warn to logging.warning. logging.warn is deprecated. Change-Id: I047f356b8eeced631edc51e3b846f0995f4ce95e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2124526 Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org>
diff --git a/gclient.py b/gclient.py index d132d3c..285bb01 100755 --- a/gclient.py +++ b/gclient.py
@@ -601,7 +601,7 @@ self.url)) # In theory we could keep it as a shadow of the other one. In # practice, simply ignore it. - logging.warn('Won\'t process duplicate dependency %s' % sibling) + logging.warning("Won't process duplicate dependency %s" % sibling) return False return True