Mercurial > hg
diff mercurial/bundle2.py @ 50893:0e936b950731
bundle2: use sysstr to check for attribute presence
We do not need bytes here.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 30 Aug 2023 13:00:14 +0200 |
parents | 0452af304808 |
children | d718eddf01d9 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Wed Aug 30 13:32:45 2023 +0200 +++ b/mercurial/bundle2.py Wed Aug 30 13:00:14 2023 +0200 @@ -1138,7 +1138,7 @@ if not self.data: msg.append(b' empty payload') elif util.safehasattr(self.data, 'next') or util.safehasattr( - self.data, b'__next__' + self.data, '__next__' ): msg.append(b' streamed payload') else: