This is an automated email from the ASF dual-hosted git repository. brondsem pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit e1c8285824bb930aea1861d376195c31e7407825 Author: Dave Brondsema <dbronds...@slashdotmedia.com> AuthorDate: Wed Jun 15 12:19:29 2022 -0400 minor logging tweaks --- Allura/allura/model/auth.py | 2 +- Allura/allura/model/repository.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py index 5be5ee9aa..ae4b0b402 100644 --- a/Allura/allura/model/auth.py +++ b/Allura/allura/model/auth.py @@ -678,7 +678,7 @@ class User(MappedClass, ActivityNode, ActivityObject, SearchIndexable): users = [ea.claimed_by_user(not only_confirmed) for ea in addrs] users = [u for u in users if u is not None] if len(users) > 1: - log.warn('Multiple active users matching confirmed email %s %s. ' + log.warn('Multiple active users matching confirmed email: %s %s. ' 'Using first one', [u.username for u in users], addr) return users[0] if len(users) > 0 else None diff --git a/Allura/allura/model/repository.py b/Allura/allura/model/repository.py index 8e2dcc183..24543ff59 100644 --- a/Allura/allura/model/repository.py +++ b/Allura/allura/model/repository.py @@ -1172,7 +1172,7 @@ class Commit(MappedClass, RepoObject, ActivityObject): def guess_repo(self): import traceback - log.error('guess_repo: should not be called: %s' % + log.error('guess_repo should not be called: %s' % ''.join(traceback.format_stack())) for ac in c.project.app_configs: try: