Mercurial > public > mercurial-scm > hg-stable
diff hgext/remotefilelog/fileserverclient.py @ 43115:4aa72cdf616f
py3: delete b'' prefix from safehasattr arguments
Differential Revision: https://phab.mercurial-scm.org/D7029
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 06 Oct 2019 20:17:41 -0700 |
parents | 687b865b95ad |
children | 8ff1ecfadcd1 |
line wrap: on
line diff
--- a/hgext/remotefilelog/fileserverclient.py Tue Oct 08 19:35:30 2019 -0700 +++ b/hgext/remotefilelog/fileserverclient.py Sun Oct 06 20:17:41 2019 -0700 @@ -89,7 +89,7 @@ not in self.capabilities() ): return - if not util.safehasattr(self, b'_localrepo'): + if not util.safehasattr(self, '_localrepo'): return if ( constants.SHALLOWREPO_REQUIREMENT @@ -129,7 +129,7 @@ def _callstream(self, command, **opts): supertype = super(remotefilepeer, self) - if not util.safehasattr(supertype, b'_sendrequest'): + if not util.safehasattr(supertype, '_sendrequest'): self._updatecallstreamopts(command, pycompat.byteskwargs(opts)) return super(remotefilepeer, self)._callstream(command, **opts)