# HG changeset patch # User Martin von Zweigbergk # Date 2019-11-20 16:11:21 # Node ID aff3f6e407a118393caaf892d1027e5cb753c956 # Parent bfbbf48d51e800e23afa3a3fa8b535d4050c0723 py3: wrap a __func__ in sysbytes() before logging as bytes Differential Revision: https://phab.mercurial-scm.org/D7461 diff --git a/hgext/remotefilelog/basestore.py b/hgext/remotefilelog/basestore.py --- a/hgext/remotefilelog/basestore.py +++ b/hgext/remotefilelog/basestore.py @@ -441,7 +441,10 @@ class baseunionstore(object): i = 0 while i < self.numattempts: if i > 0: - retrylog(b're-attempting (n=%d) %s\n' % (i, funcname)) + retrylog( + b're-attempting (n=%d) %s\n' + % (i, pycompat.sysbytes(funcname)) + ) self.markforrefresh() i += 1 try: