Mercurial > hg
changeset 50912:f6cb926d4189
smartset: set attribute using sysstr instead of bytes
We do not needs bytes here.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 30 Aug 2023 00:45:10 +0200 |
parents | 1339158a8a40 |
children | 93b0de7f13ca |
files | mercurial/smartset.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/smartset.py Wed Aug 30 11:53:13 2023 +0200 +++ b/mercurial/smartset.py Wed Aug 30 00:45:10 2023 +0200 @@ -359,10 +359,10 @@ return s def __and__(self, other): - return self._fastsetop(other, b'__and__') + return self._fastsetop(other, '__and__') def __sub__(self, other): - return self._fastsetop(other, b'__sub__') + return self._fastsetop(other, '__sub__') def _slice(self, start, stop): # creating new list should be generally cheaper than iterating items